mrtk_developmentreleases/2.0.0releases/2.1.0releases/2.2.0releases/2.3.0releases/2.4.0releases/2.5.0releases/2.5.1releases/2.5.2releases/2.5.3

We've moved!

Starting from MRTK 2.6, we are publishing both conceptual docs and API references on docs.microsoft.com. For conceptual docs, please visit our new landing page. For API references, please visit the MRTK-Unity section of the dot net API explorer. Existing content will remain here but will not be updated further.

Search Results for

    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
    In This Article
    • Constructors
      • Response(Boolean, Func<String>, Func<Byte[]>, Int64)
      • Response(Boolean, String, Byte[], Int64)
    • Properties
      • ResponseBody
      • ResponseCode
      • ResponseData
      • Successful
    Back to top Generated by DocFX