AppDomainIsolatedTask Class

 

Provides the same functionality as Task, but also derives from MarshalByRefObject so that it can be instantiated in its own app domain.

Namespace:   Microsoft.Build.Utilities
Assembly:  Microsoft.Build.Utilities.v4.0 (in Microsoft.Build.Utilities.v4.0.dll)

System.Object
  System.MarshalByRefObject
    Microsoft.Build.Utilities.AppDomainIsolatedTask
      Microsoft.Build.Tasks.AppDomainIsolatedTaskExtension

[LoadInSeparateAppDomainAttribute]
public abstract class AppDomainIsolatedTask : MarshalByRefObject, 
	ITask

NameDescription
System_CAPS_protmethodAppDomainIsolatedTask()

Initializes a new instance of the AppDomainIsolatedTask class.

System_CAPS_protmethodAppDomainIsolatedTask(ResourceManager)

Initializes a new instance of the AppDomainIsolatedTask class and allows derived Task classes to register their resources.

System_CAPS_protmethodAppDomainIsolatedTask(ResourceManager, String)

Initializes a new instance of the AppDomainIsolatedTask class and allows derived Task classes to register their resources, as well as provide a prefix for composing help keywords from string resource names.

NameDescription
System_CAPS_pubpropertyBuildEngine

Gets or sets the build engine interface that is available to tasks.

System_CAPS_protpropertyHelpKeywordPrefix

Gets or sets the prefix that is used to compose Help keywords from string resource names.

System_CAPS_pubpropertyHostObject

Gets or sets a host object instance that is associated with the derived Task.

System_CAPS_pubpropertyLog

Gets an instance of a task logging helper object that contains task logging methods.

System_CAPS_protpropertyTaskResources

Gets or sets culture-specific resources of the derived Task.

NameDescription
System_CAPS_pubmethodCreateObjRef(Type)

Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.(Inherited from MarshalByRefObject.)

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodExecute()

Runs the task.

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetLifetimeService()

Retrieves the current lifetime service object that controls the lifetime policy for this instance.(Inherited from MarshalByRefObject.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodInitializeLifetimeService()

When overridden in a derived class, gives tasks infinite lease time.(Overrides MarshalByRefObject.InitializeLifetimeService().)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone(Boolean)

Creates a shallow copy of the current MarshalByRefObject object.(Inherited from MarshalByRefObject.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

.NET Framework
Available since 2.0

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: