Click or drag to resize
Task Scheduler Managed Class Library

ResourceReferenceValue Class

Some string values of TaskDefinition properties can be set to retrieve their value from existing DLLs as a resource. This class facilitates creating those reference strings.
Inheritance Hierarchy
SystemObject
  Microsoft.Win32.TaskSchedulerResourceReferenceValue

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

The ResourceReferenceValue type exposes the following members.

Constructors
 NameDescription
Public methodResourceReferenceValue Initializes a new instance of the ResourceReferenceValue class.
Top
Properties
 NameDescription
Public propertyResourceFilePath Gets or sets the resource file path. This can be a relative path, full path or lookup path (e.g. %SystemRoot%\System32\ResourceName.dll).
Public propertyResourceIdentifier Gets or sets the resource identifier.
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 methodGetResolvedString Gets the result of pulling the string from the resource file using the identifier.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodStatic memberParse Parses the input string. String must be in the format "$(@ [Dll], [ResourceID])".
Public methodToString Returns a String in the format required by the Task Scheduler to reference a string in a DLL.
(Overrides ObjectToString)
Public methodStatic memberTryParse Tries to parse to input string. String must be in the format "$(@ [Dll], [ResourceID])".
Top
Operators
 NameDescription
Public operatorStatic member(ResourceReferenceValue to String) Performs an implicit conversion from ResourceReferenceValue to String.
Top
See Also