Partager via


AppDomainIsolatedTask Constructors

Definition

Initializes a new instance of the AppDomainIsolatedTask class.

Overloads

AppDomainIsolatedTask()

Default (family) constructor.

AppDomainIsolatedTask(ResourceManager)

This (family) constructor allows derived task classes to register their resources.

AppDomainIsolatedTask(ResourceManager, String)

This (family) constructor allows derived task classes to register their resources, as well as provide a prefix for composing help keywords from string resource names. If the prefix is an empty string, then string resource names will be used verbatim as help keywords. For an example of how the prefix is used, see the LogErrorWithCodeFromResources(String, Object[]) method.

AppDomainIsolatedTask()

Source:
AppDomainIsolatedTask.cs

Default (family) constructor.

protected:
 AppDomainIsolatedTask();
protected AppDomainIsolatedTask ();
Protected Sub New ()

Applies to

AppDomainIsolatedTask(ResourceManager)

Source:
AppDomainIsolatedTask.cs

This (family) constructor allows derived task classes to register their resources.

protected:
 AppDomainIsolatedTask(System::Resources::ResourceManager ^ taskResources);
protected AppDomainIsolatedTask (System.Resources.ResourceManager taskResources);
new Microsoft.Build.Utilities.AppDomainIsolatedTask : System.Resources.ResourceManager -> Microsoft.Build.Utilities.AppDomainIsolatedTask
Protected Sub New (taskResources As ResourceManager)

Parameters

taskResources
ResourceManager

The task resources.

Applies to

AppDomainIsolatedTask(ResourceManager, String)

Source:
AppDomainIsolatedTask.cs

This (family) constructor allows derived task classes to register their resources, as well as provide a prefix for composing help keywords from string resource names. If the prefix is an empty string, then string resource names will be used verbatim as help keywords. For an example of how the prefix is used, see the LogErrorWithCodeFromResources(String, Object[]) method.

protected:
 AppDomainIsolatedTask(System::Resources::ResourceManager ^ taskResources, System::String ^ helpKeywordPrefix);
protected AppDomainIsolatedTask (System.Resources.ResourceManager taskResources, string helpKeywordPrefix);
new Microsoft.Build.Utilities.AppDomainIsolatedTask : System.Resources.ResourceManager * string -> Microsoft.Build.Utilities.AppDomainIsolatedTask
Protected Sub New (taskResources As ResourceManager, helpKeywordPrefix As String)

Parameters

taskResources
ResourceManager

The task resources.

helpKeywordPrefix
String

The help keyword prefix.

Remarks

If the prefix is an empty string, then string resource names will be used verbatim as Help keywords. For an example of how the prefix is used, see the LogErrorWithCodeFromResources method.

Applies to