Share via


MobileServiceInvalidOperationException Constructors

Definition

Overloads

MobileServiceInvalidOperationException(String, HttpRequestMessage, HttpResponseMessage)

Initializes a new instance of the MobileServiceInvalidOperationException class.

MobileServiceInvalidOperationException(String, Exception, HttpRequestMessage, HttpResponseMessage)

Initializes a new instance of the MobileServiceInvalidOperationException class.

MobileServiceInvalidOperationException(String, HttpRequestMessage, HttpResponseMessage, JObject)

Initializes a new instance of the MobileServiceInvalidOperationException class.

MobileServiceInvalidOperationException(String, HttpRequestMessage, HttpResponseMessage)

Initializes a new instance of the MobileServiceInvalidOperationException class.

public MobileServiceInvalidOperationException (string message, System.Net.Http.HttpRequestMessage request, System.Net.Http.HttpResponseMessage response);
new Microsoft.WindowsAzure.MobileServices.MobileServiceInvalidOperationException : string * System.Net.Http.HttpRequestMessage * System.Net.Http.HttpResponseMessage -> Microsoft.WindowsAzure.MobileServices.MobileServiceInvalidOperationException
Public Sub New (message As String, request As HttpRequestMessage, response As HttpResponseMessage)

Parameters

message
String

The exception message.

request
HttpRequestMessage

The originating service request.

response
HttpResponseMessage

The returned service response.

Applies to

MobileServiceInvalidOperationException(String, Exception, HttpRequestMessage, HttpResponseMessage)

Initializes a new instance of the MobileServiceInvalidOperationException class.

public MobileServiceInvalidOperationException (string message, Exception innerException, System.Net.Http.HttpRequestMessage request, System.Net.Http.HttpResponseMessage response);
new Microsoft.WindowsAzure.MobileServices.MobileServiceInvalidOperationException : string * Exception * System.Net.Http.HttpRequestMessage * System.Net.Http.HttpResponseMessage -> Microsoft.WindowsAzure.MobileServices.MobileServiceInvalidOperationException
Public Sub New (message As String, innerException As Exception, request As HttpRequestMessage, response As HttpResponseMessage)

Parameters

message
String

The exception message.

innerException
Exception

The inner exception of this exception

request
HttpRequestMessage

The originating service request.

response
HttpResponseMessage

The returned service response.

Applies to

MobileServiceInvalidOperationException(String, HttpRequestMessage, HttpResponseMessage, JObject)

Initializes a new instance of the MobileServiceInvalidOperationException class.

public MobileServiceInvalidOperationException (string message, System.Net.Http.HttpRequestMessage request, System.Net.Http.HttpResponseMessage response, Newtonsoft.Json.Linq.JObject value);
new Microsoft.WindowsAzure.MobileServices.MobileServiceInvalidOperationException : string * System.Net.Http.HttpRequestMessage * System.Net.Http.HttpResponseMessage * Newtonsoft.Json.Linq.JObject -> Microsoft.WindowsAzure.MobileServices.MobileServiceInvalidOperationException
Public Sub New (message As String, request As HttpRequestMessage, response As HttpResponseMessage, value As JObject)

Parameters

message
String

The exception message.

request
HttpRequestMessage

The originating service request.

response
HttpResponseMessage

The returned service response.

value
Newtonsoft.Json.Linq.JObject

Server response deserialized as JObject.

Applies to