Search Results for

    Show / Hide Table of Contents

    Class ResponseMessage<T>

    The message returned from the server.

    Inheritance
    object
    ResponseMessage<T>
    Implements
    IEquatable<ResponseMessage<T>>
    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 ResponseMessage<T> : IEquatable<ResponseMessage<T>>
    Type Parameters
    Name Description
    T

    The type of the data returned.

    Constructors

    ResponseMessage(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
    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
    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

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