Class ResponseMessage<T>
The message returned from the server.
Inheritance
System.Object
ResponseMessage<T>
Implements
System.IEquatable<ResponseMessage<T>>
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Gremlin.Net.Driver.Messages
Assembly: cs.temp.dll.dll
Syntax
public class ResponseMessage<T> : IEquatable<ResponseMessage<T>>
Type Parameters
Name | Description |
---|---|
T | The type of the data returned. |
Constructors
ResponseMessage(Nullable<Guid>, ResponseStatus, ResponseResult<T>)
Initializes a new instance of the ResponseMessage<T> record.
Declaration
public ResponseMessage(Guid? requestId, ResponseStatus status, ResponseResult<T> result)
Parameters
Type | Name | Description |
---|---|---|
System.Nullable<System.Guid> | requestId | The identifier of the RequestMessage that generated this ResponseMessage<T>. |
ResponseStatus | status | Status information about this ResponseMessage<T>. |
ResponseResult<T> | result | The result with its data and optional meta information. |
Properties
RequestId
Gets the identifier of the RequestMessage that generated this ResponseMessage<T>.
Declaration
public Guid? RequestId { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Guid> |
Result
Gets the result with its data and optional meta information.
Declaration
public ResponseResult<T> Result { get; set; }
Property Value
Type | Description |
---|---|
ResponseResult<T> |
Status
Gets status information about this ResponseMessage<T>.
Declaration
public ResponseStatus Status { get; }
Property Value
Type | Description |
---|---|
ResponseStatus |
Implements
System.IEquatable<T>