Click or drag to resize
CallOptionsWithCancellationToken Method
Returns new instance of CallOptions with CancellationToken set to the value provided. Values of all other fields are preserved.

Namespace: Grpc.Core
Assembly: Grpc.Core (in Grpc.Core.dll) Version: 0.7.0.0
Syntax
public CallOptions WithCancellationToken(
	CancellationToken cancellationToken
)

Parameters

cancellationToken
Type: System.ThreadingCancellationToken
The cancellation token.

Return Value

Type: CallOptions
See Also