RegisteredTaskObjectLifetime 枚举

定义

定义一个注册的任务对象的生存期。Defines the lifetime of a registered task object.

public enum class RegisteredTaskObjectLifetime
public enum RegisteredTaskObjectLifetime
type RegisteredTaskObjectLifetime = 
Public Enum RegisteredTaskObjectLifetime
继承
RegisteredTaskObjectLifetime

字段

AppDomain 1

编译生成的卸载时,AppDomain 注册的对象将被释放。The registered object will be disposed when the AppDomain in which the build was launched is unloaded.

Build 0

当编译关闭时,注册的对象将被释放。The registered object will be disposed when the build ends.

适用于