Метод | Описание | |
---|---|---|
Cancel ( ) : bool |
Cancels the operation. The token can only be cancelled if a CancellationTokenSource was provided. |
|
CompatibleCancellationToken ( |
Creates a CompatibleCancellationToken based on an existing GSF cancellation token.
|
|
GetToken ( ) : |
Gets a System.Threading.CancellationToken associated with this CompatibleCancellationToken.
|
|
GetTokenSource ( ) : |
Gets a CancellationTokenSource associated with this CompatibleCancellationToken. This function will return |
Метод | Описание | |
---|---|---|
CompatibleCancellationToken ( |
||
CompatibleCancellationToken ( System token ) : System |
public CompatibleCancellationToken ( |
||
token | Existing GSF token. | |
Результат | System |
public GetToken ( ) : |
||
Результат |
public GetTokenSource ( ) : |
||
Результат |