共用方式為


RegisteredTaskObjectLifetime Enum

Definition

Defines the lifetime of a registered task object.

public enum class RegisteredTaskObjectLifetime
public enum RegisteredTaskObjectLifetime
type RegisteredTaskObjectLifetime = 
Public Enum RegisteredTaskObjectLifetime
Inheritance
RegisteredTaskObjectLifetime

Fields

Name Value Description
Build 0

The registered object will be disposed when the build ends.

AppDomain 1

The registered object will be disposed when the AppDomain is unloaded.

Applies to