Class GrpcBaseReply
Used for operations that just need to return an indication of success or failure.
Namespace: Neon.Kube.GrpcProto.Desktop
Assembly: Neon.Kube.GrpcProto.dll
Syntax
[DataContract]
public class GrpcBaseReply
Constructors
GrpcBaseReply()
Success/default constructor.
Declaration
public GrpcBaseReply()
GrpcBaseReply(Exception)
Error constructor.
Declaration
public GrpcBaseReply(Exception e)
Parameters
Type | Name | Description |
---|---|---|
Exception | e | The exception. |
Properties
Error
Set to a non-null error when the request failed.
Declaration
[DataMember(Order = 1)]
public GrpcError? Error { get; set; }
Property Value
Type | Description |
---|---|
GrpcError |