mrtk_developmentreleases/2.0.0releases/2.1.0releases/2.2.0

    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

    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

    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

    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[]

    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

    Successful

    Was the REST call successful?

    Declaration
    public bool Successful { get; }
    Property Value
    Type Description
    Boolean
    In This Article
    • Constructors
      • Response(Boolean, Func<String>, Func<Byte[]>, Int64)
      • Response(Boolean, String, Byte[], Int64)
      • Response(Boolean, String, Byte[], Int64)
    • Properties
      • ResponseBody
      • ResponseBody
      • ResponseCode
      • ResponseCode
      • ResponseData
      • ResponseData
      • Successful
      • Successful
    Back to top Generated by DocFX