gRPC C#
gRPC C#
Namespaces
Grpc.Core
ServerCallContext Class
ServerCallContext Methods
CreatePropagationToken Method
WriteResponseHeadersAsync Method

ServerCallContext Methods

The ServerCallContext type exposes the following members.

Methods

| Name | Description
--- | --- | ---
| CreatePropagationToken | Creates a propagation token to be used to propagate call context to a child call.
| 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.)
| ToString | Returns a string that represents the current object. (Inherited from Object.)
| WriteResponseHeadersAsync | Asynchronously sends response headers for the current call to the client. This method may only be invoked once for each call and needs to be invoked before any response messages are written. Writing the first response message implicitly sends empty response headers if WriteResponseHeadersAsync haven't been called yet.

Top
See Also

#### Reference

ServerCallContext Class
Grpc.Core Namespace