| CallOptionsCancellationToken Property |
Token that can be used for cancelling the call on the client side.
Cancelling the token will request cancellation
of the remote call. Best effort will be made to deliver the cancellation
notification to the server and interaction of the call with the server side
will be terminated. Unless the call finishes before the cancellation could
happen (there is an inherent race),
the call will finish with StatusCode.Cancelled status.
Namespace: Grpc.CoreAssembly: Grpc.Core (in Grpc.Core.dll) Version: 1.0.0
Syntaxpublic CancellationToken CancellationToken { get; }Public ReadOnly Property CancellationToken As CancellationToken
Get
public:
property CancellationToken CancellationToken {
CancellationToken get ();
}member CancellationToken : CancellationToken with get
Property Value
Type:
CancellationToken
See Also