Method | Description | |
---|---|---|
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 |
Method | Description | |
---|---|---|
CompatibleCancellationToken ( |
||
CompatibleCancellationToken ( System token ) : System |
public CompatibleCancellationToken ( |
||
token | Existing GSF token. | |
return | System |
public GetToken ( ) : |
||
return |
public GetTokenSource ( ) : |
||
return |