AppDomainIsolatedTask AppDomainIsolatedTask AppDomainIsolatedTask AppDomainIsolatedTask Class

Definition

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

public ref class AppDomainIsolatedTask abstract : MarshalByRefObject, Microsoft::Build::Framework::ITask
[Microsoft.Build.Framework.LoadInSeparateAppDomain]
public abstract class AppDomainIsolatedTask : MarshalByRefObject, Microsoft.Build.Framework.ITask
type AppDomainIsolatedTask = class
    inherit MarshalByRefObject
    interface ITask
Public MustInherit Class AppDomainIsolatedTask
Inherits MarshalByRefObject
Implements ITask
Inheritance
AppDomainIsolatedTaskAppDomainIsolatedTaskAppDomainIsolatedTaskAppDomainIsolatedTask
Derived
Attributes
Implements

Constructors

AppDomainIsolatedTask() AppDomainIsolatedTask() AppDomainIsolatedTask() AppDomainIsolatedTask()

Initializes a new instance of the AppDomainIsolatedTask class.

AppDomainIsolatedTask(ResourceManager) AppDomainIsolatedTask(ResourceManager) AppDomainIsolatedTask(ResourceManager) AppDomainIsolatedTask(ResourceManager)

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

AppDomainIsolatedTask(ResourceManager, String) AppDomainIsolatedTask(ResourceManager, String) AppDomainIsolatedTask(ResourceManager, String) AppDomainIsolatedTask(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.

Properties

BuildEngine BuildEngine BuildEngine BuildEngine

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

HelpKeywordPrefix HelpKeywordPrefix HelpKeywordPrefix HelpKeywordPrefix

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

HostObject HostObject HostObject HostObject

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

Log Log Log Log

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

TaskResources TaskResources TaskResources TaskResources

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

Methods

CreateObjRef(Type) CreateObjRef(Type) CreateObjRef(Type) CreateObjRef(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)
Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
Execute() Execute() Execute() Execute()

Runs the task.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetLifetimeService() GetLifetimeService() GetLifetimeService() GetLifetimeService()

Retrieves the current lifetime service object that controls the lifetime policy for this instance.

(Inherited from MarshalByRefObject)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
InitializeLifetimeService() InitializeLifetimeService() InitializeLifetimeService() InitializeLifetimeService()

When overridden in a derived class, gives tasks infinite lease time.

MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
MemberwiseClone(Boolean) MemberwiseClone(Boolean) MemberwiseClone(Boolean) MemberwiseClone(Boolean)

Creates a shallow copy of the current MarshalByRefObject object.

(Inherited from MarshalByRefObject)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to