Click or drag to resize
Status Structure
Represents RPC result, which consists of StatusCode and an optional detail string.

Namespace: Grpc.Core
Assembly: Grpc.Core (in Grpc.Core.dll) Version: 0.7.0.0
Syntax
public struct Status

The Status type exposes the following members.

Constructors
  NameDescription
Public methodStatus
Creates a new instance of Status.
Top
Properties
  NameDescription
Public propertyDetail
Gets the detail.
Public propertyStatusCode
Gets the gRPC status code. OK indicates success, all other values indicate an error.
Top
Methods
  NameDescription
Public methodEquals
Indicates whether this instance and a specified object are equal.
(Inherited from ValueType.)
Public methodGetHashCode
Returns the hash code for this instance.
(Inherited from ValueType.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a String that represents the current Status.
(Overrides ValueTypeToString.)
Top
Fields
  NameDescription
Public fieldStatic memberDefaultCancelled
Default result of a cancelled RPC. StatusCode=Cancelled, empty details message.
Public fieldStatic memberDefaultSuccess
Default result of a successful RPC. StatusCode=OK, empty details message.
Top
See Also