Condividi tramite


TaskLoggingHelper.TaskResources Property

Definition

Used to load culture-specific resources. Derived classes should register their resources either during construction, or via this property, if they have localized strings.

public:
 property System::Resources::ResourceManager ^ TaskResources { System::Resources::ResourceManager ^ get(); void set(System::Resources::ResourceManager ^ value); };
public System.Resources.ResourceManager TaskResources { get; set; }
public System.Resources.ResourceManager TaskResources { [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] get; [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] set; }
member this.TaskResources : System.Resources.ResourceManager with get, set
[<get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
[<set: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
member this.TaskResources : System.Resources.ResourceManager with get, set
Public Property TaskResources As ResourceManager

Property Value

A ResourceManager that represents the culture-specific resources used by the logging methods. This value can be null.

Attributes

Remarks

If derived classes have localized strings, then they should register their resources with this property.

Applies to