gRPC C#
gRPC C#
Namespaces
Grpc.Core
Channel Class
Channel Methods
ConnectAsync Method
ShutdownAsync Method
WaitForStateChangedAsync Method

Channel Methods

The Channel type exposes the following members.

Methods

| Name | Description
--- | --- | ---
| ConnectAsync | Allows explicitly requesting channel to connect without starting an RPC. Returned task completes once state Ready was seen. If the deadline is reached, or channel enters the FatalFailure state, the task is cancelled. There is no need to call this explicitly unless your use case requires that. Starting an RPC on a new channel will request connection implicitly.
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.)
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
| GetHashCode | Serves as the default hash function. (Inherited from Object.)
| GetType | Gets the Type of the current instance. (Inherited from Object.)
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.)
| ShutdownAsync | Waits until there are no more active calls for this channel and then cleans up resources used by this channel.
| ToString | Returns a string that represents the current object. (Inherited from Object.)
| WaitForStateChangedAsync | Returned tasks completes once channel state has become different from given lastObservedState. If deadline is reached or and error occurs, returned task is cancelled.

Top
See Also

#### Reference

Channel Class
Grpc.Core Namespace