共用方式為


CancellationChangeToken(CancellationToken) 建構函式

定義

初始化 CancellationChangeToken 的新執行個體。

public:
 CancellationChangeToken(System::Threading::CancellationToken cancellationToken);
public CancellationChangeToken (System.Threading.CancellationToken cancellationToken);
new Microsoft.Extensions.Primitives.CancellationChangeToken : System.Threading.CancellationToken -> Microsoft.Extensions.Primitives.CancellationChangeToken
Public Sub New (cancellationToken As CancellationToken)

參數

cancellationToken
CancellationToken

CancellationToken

適用於