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.

Definition

Namespace: Microsoft.Win32.TaskScheduler
Assembly: Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.11.1
public class ResourceReferenceValue
Inheritance
Object    ResourceReferenceValue

Constructors

ResourceReferenceValue Initializes a new instance of the ResourceReferenceValue class.

Properties

ResourceFilePath Gets or sets the resource file path. This can be a relative path, full path or lookup path (e.g. %SystemRoot%\System32\ResourceName.dll).
ResourceIdentifier Gets or sets the resource identifier.

Methods

EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetResolvedString Gets the result of pulling the string from the resource file using the identifier.
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Parse Parses the input string. String must be in the format "$(@ [Dll], [ResourceID])".
ToString Returns a String in the format required by the Task Scheduler to reference a string in a DLL.
(Overrides ObjectToString)
TryParse Tries to parse to input string. String must be in the format "$(@ [Dll], [ResourceID])".

Operators

(ResourceReferenceValue to String) Performs an implicit conversion from ResourceReferenceValue to String.

See Also