DataflowBlockOptions.CancellationToken 属性

定义

获取或设置针对取消请求而要监视的 CancellationToken

public:
 property System::Threading::CancellationToken CancellationToken { System::Threading::CancellationToken get(); void set(System::Threading::CancellationToken value); };
public System.Threading.CancellationToken CancellationToken { get; set; }
member this.CancellationToken : System.Threading.CancellationToken with get, set
Public Property CancellationToken As CancellationToken

属性值

CancellationToken

令牌。

适用于