Click or drag to resize
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.Core
Assembly: Grpc.Core (in Grpc.Core.dll) Version: 1.0.0
Syntax
public CancellationToken CancellationToken { get; }

Property Value

Type: CancellationToken
See Also