gRPC C#
gRPC C#
Namespaces
Grpc.Core
CallOptions Structure
CallOptions Methods
WithCancellationToken Method
WithDeadline Method
WithHeaders Method

CallOptions Methods

The CallOptions type exposes the following members.

Methods

| Name | Description
--- | --- | ---
| Equals | Indicates whether this instance and a specified object are equal. (Inherited from ValueType.)
| GetHashCode | Returns the hash code for this instance. (Inherited from ValueType.)
| GetType | Gets the Type of the current instance. (Inherited from Object.)
| ToString | Returns the fully qualified type name of this instance. (Inherited from ValueType.)
| WithCancellationToken | Returns new instance of CallOptions with CancellationToken set to the value provided. Values of all other fields are preserved.
| WithDeadline | Returns new instance of CallOptions with Deadline set to the value provided. Values of all other fields are preserved.
| WithHeaders | Returns new instance of CallOptions with Headers set to the value provided. Values of all other fields are preserved.

Top
See Also

#### Reference

CallOptions Structure
Grpc.Core Namespace