InitializationContext.CancellationToken 属性

定义

可以检查一个 CancellationToken 值,以查看是否应取消初始化。

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

属性值

适用于