共用方式為


LoadInSeparateAppDomainAttribute Class

Definition

This attribute is used to mark tasks that need to be run in their own app domains. The build engine will create a new app domain each time it needs to run such a task, and immediately unload it when the task is finished.

public ref class LoadInSeparateAppDomainAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false, Inherited=true)]
public sealed class LoadInSeparateAppDomainAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false, Inherited=true)>]
type LoadInSeparateAppDomainAttribute = class
    inherit Attribute
Public NotInheritable Class LoadInSeparateAppDomainAttribute
Inherits Attribute
Inheritance
LoadInSeparateAppDomainAttribute
Attributes

Constructors

LoadInSeparateAppDomainAttribute()

Default constructor.

Applies to