Click or drag to resize
Task Scheduler Managed Class Library

TaskSnapshot Class

Represents a Task instance and captures its details.
Inheritance Hierarchy
SystemObject
  Microsoft.Win32.TaskSchedulerSnapshotItem
    Microsoft.Win32.TaskSchedulerTaskSnapshot

Namespace: Microsoft.Win32.TaskScheduler
Assembly: Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.12.0
Syntax
C#
public sealed class TaskSnapshot : SnapshotItem
Request Example View Source

The TaskSnapshot type exposes the following members.

Properties
 NameDescription
Public propertyEnabledGets a value indicating whether th Task is enabled.
Public propertyPathGets the path to the item.
(Inherited from SnapshotItem)
Public propertySddlGets the SDDL for the item.
(Inherited from SnapshotItem)
Public propertyTaskDefinitionXmlGets the TaskDefinition XML.
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also