Search Results for

    Show / Hide Table of Contents

    Class GetTaskResponse

    Inheritance
    object
    ResponseBase
    GetTaskResponse
    Implements
    IResponse
    IOpenSearchResponse
    Inherited Members
    ResponseBase.ApiCall
    ResponseBase.DebugInformation
    ResponseBase.IsValid
    ResponseBase.OriginalException
    ResponseBase.ServerError
    ResponseBase.DebugIsValid(StringBuilder)
    ResponseBase.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: OpenSearch.Client
    Assembly: OpenSearch.Client.dll
    Syntax
    public class GetTaskResponse : ResponseBase, IResponse, IOpenSearchResponse

    Properties

    | Edit this page View Source

    Completed

    Declaration
    [DataMember(Name = "completed")]
    public bool Completed { get; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    Task

    Declaration
    [DataMember(Name = "task")]
    public TaskInfo Task { get; }
    Property Value
    Type Description
    TaskInfo

    Methods

    | Edit this page View Source

    GetResponse<TResponse>()

    Gets the response for the request that the task represents, if available. Because the response will have no associated ApiCallDetails, the value of IsValid should not be used.

    Declaration
    public TResponse GetResponse<TResponse>() where TResponse : class, IResponse
    Returns
    Type Description
    TResponse
    Type Parameters
    Name Description
    TResponse

    Implements

    IResponse
    IOpenSearchResponse

    Extension Methods

    SuffixExtensions.Suffix(object, string)
    • Edit this page
    • View Source
    In this article
    • Properties
      • Completed
      • Task
    • Methods
      • GetResponse<TResponse>()
    • Implements
    • Extension Methods
    Back to top Generated by DocFX