共用方式為


InitializationContext.CancellationToken 屬性

定義

CancellationToken 可檢查以查看是否應該取消初始化。

public System.Threading.CancellationToken CancellationToken { get; }
member this.CancellationToken : System.Threading.CancellationToken
Public ReadOnly Property CancellationToken As CancellationToken

屬性值

適用於