日本語翻訳ドキュメントはサポートを終了しました

MRTK 2.6 以降のドキュメントについては、公式の Microsoft ドキュメント を参照してください。

    Show / Hide Table of Contents

    Struct Response

    Response to a REST Call.

    Inherited Members
    ValueType.Equals(Object)
    ValueType.GetHashCode()
    ValueType.ToString()
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Namespace: Microsoft.MixedReality.Toolkit.Utilities
    Assembly: cs.temp.dll.dll
    Syntax
    public struct Response

    Constructors

    Response(Boolean, Func<String>, Func<Byte[]>, Int64)

    Declaration
    public Response(bool successful, Func<string> responseBodyAction, Func<byte[]> responseDataAction, long responseCode)
    Parameters
    Type Name Description
    Boolean successful
    Func<String> responseBodyAction
    Func<Byte[]> responseDataAction
    Int64 responseCode

    Response(Boolean, String, Byte[], Int64)

    Constructor.

    Declaration
    public Response(bool successful, string responseBody, byte[] responseData, long responseCode)
    Parameters
    Type Name Description
    Boolean successful
    String responseBody
    Byte[] responseData
    Int64 responseCode

    Properties

    ResponseBody

    Response body from the resource.

    Declaration
    public string ResponseBody { get; }
    Property Value
    Type Description
    String

    ResponseCode

    Response code from the resource.

    Declaration
    public long ResponseCode { get; }
    Property Value
    Type Description
    Int64

    ResponseData

    Response data from the resource.

    Declaration
    public byte[] ResponseData { get; }
    Property Value
    Type Description
    Byte[]

    Successful

    Was the REST call successful?

    Declaration
    public bool Successful { get; }
    Property Value
    Type Description
    Boolean
    Back to top Generated by DocFX