Search Results for

    Show / Hide Table of Contents

    Class ResponseStatus

    Represents status information of a ResponseMessage<T>.

    Inheritance
    object
    ResponseStatus
    Implements
    IEquatable<ResponseStatus>
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Gremlin.Net.Driver.Messages
    Assembly: Gremlin.Net.dll
    Syntax
    public record ResponseStatus : IEquatable<ResponseStatus>

    Constructors

    ResponseStatus(ResponseStatusCode, Dictionary<string, object>?, string?)

    Initializes a new instance of the ResponseStatus record.

    Declaration
    public ResponseStatus(ResponseStatusCode code, Dictionary<string, object>? attributes = null, string? message = null)
    Parameters
    Type Name Description
    ResponseStatusCode code

    The ResponseStatusCode.

    Dictionary<string, object> attributes

    The (optional) attributes with protocol-level information.

    string message

    The (optional) message which is just a human-readable string usually associated with errors.

    Properties

    Attributes

    Gets the attributes Dictionary<TKey, TValue> with protocol-level information.

    Declaration
    public Dictionary<string, object> Attributes { get; }
    Property Value
    Type Description
    Dictionary<string, 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
    string

    Implements

    IEquatable<T>
    In this article
    Back to top Copyright © 2018 The Apache Software Foundation