Bearbeiten

Freigeben über


Response Constructors

Definition

Overloads

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

Constructor.

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

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

public:
 Response(bool successful, Func<cli::array <System::Byte> ^> ^ responseDataAction, long responseCode);
public Response (bool successful, Func<byte[]> responseDataAction, long responseCode);
new Microsoft.MixedReality.Toolkit.Utilities.Response : bool * Func<byte[]> * int64 -> Microsoft.MixedReality.Toolkit.Utilities.Response
Public Sub New (successful As Boolean, responseDataAction As Func(Of Byte()), responseCode As Long)

Parameters

successful
Boolean
responseDataAction
Func<Byte[]>
responseCode
Int64

Applies to

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

public:
 Response(bool successful, Func<System::String ^> ^ responseBodyAction, Func<cli::array <System::Byte> ^> ^ responseDataAction, long responseCode);
public Response (bool successful, Func<string> responseBodyAction, Func<byte[]> responseDataAction, long responseCode);
new Microsoft.MixedReality.Toolkit.Utilities.Response : bool * Func<string> * Func<byte[]> * int64 -> Microsoft.MixedReality.Toolkit.Utilities.Response
Public Sub New (successful As Boolean, responseBodyAction As Func(Of String), responseDataAction As Func(Of Byte()), responseCode As Long)

Parameters

successful
Boolean
responseBodyAction
Func<String>
responseDataAction
Func<Byte[]>
responseCode
Int64

Applies to

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

Constructor.

public:
 Response(bool successful, System::String ^ responseBody, cli::array <System::Byte> ^ responseData, long responseCode);
public Response (bool successful, string responseBody, byte[] responseData, long responseCode);
new Microsoft.MixedReality.Toolkit.Utilities.Response : bool * string * byte[] * int64 -> Microsoft.MixedReality.Toolkit.Utilities.Response
Public Sub New (successful As Boolean, responseBody As String, responseData As Byte(), responseCode As Long)

Parameters

successful
Boolean
responseBody
String
responseData
Byte[]
responseCode
Int64

Applies to

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

public:
 Response(bool successful, System::Threading::Tasks::Task<System::String ^> ^ responseBodyTask, Func<cli::array <System::Byte> ^> ^ responseDataAction, long responseCode);
public Response (bool successful, System.Threading.Tasks.Task<string> responseBodyTask, Func<byte[]> responseDataAction, long responseCode);
new Microsoft.MixedReality.Toolkit.Utilities.Response : bool * System.Threading.Tasks.Task<string> * Func<byte[]> * int64 -> Microsoft.MixedReality.Toolkit.Utilities.Response
Public Sub New (successful As Boolean, responseBodyTask As Task(Of String), responseDataAction As Func(Of Byte()), responseCode As Long)

Parameters

successful
Boolean
responseBodyTask
Task<String>
responseDataAction
Func<Byte[]>
responseCode
Int64

Applies to