Class ResponseStatus
Represents status information of a ResponseMessage<T>.
Inheritance
System.Object
ResponseStatus
Implements
System.IEquatable<ResponseStatus>
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 ResponseStatus : IEquatable<ResponseStatus>
Constructors
ResponseStatus(ResponseStatusCode, Nullable<Dictionary<String, Object>>, String)
Initializes a new instance of the ResponseStatus record.
Declaration
public ResponseStatus(ResponseStatusCode code, Dictionary<string, object>? attributes = default(Dictionary<string, object>? ), string message = null)
Parameters
Type | Name | Description |
---|---|---|
ResponseStatusCode | code | The ResponseStatusCode. |
System.Nullable<Dictionary<System.String, System.Object>> | attributes | The (optional) attributes with protocol-level information. |
System.String | message | The (optional) message which is just a human-readable string usually associated with errors. |
Properties
Attributes
Gets the attributes
Declaration
public Dictionary<string, object> Attributes { get; }
Property Value
Type | Description |
---|---|
Dictionary<System.String, System.Object> |
Code
Gets the ResponseStatusCode.
Declaration
public ResponseStatusCode Code { get; }
Property Value
Type | Description |
---|---|
ResponseStatusCode |
Message
Gets the message which is just a human-readable string usually associated with errors.
Declaration
public string Message { get; }
Property Value
Type | Description |
---|---|
System.String |
Implements
System.IEquatable<T>