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);
Parameters
message
String

The exception message.

request
HttpRequestMessage

The originating service request.

response
HttpResponseMessage

The returned service response.

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);
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.

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);
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.