你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

MobileServiceInvalidOperationException 构造函数

定义

重载

MobileServiceInvalidOperationException(String, HttpRequestMessage, HttpResponseMessage)

初始化 MobileServiceInvalidOperationException 类的新实例。

MobileServiceInvalidOperationException(String, Exception, HttpRequestMessage, HttpResponseMessage)

初始化 MobileServiceInvalidOperationException 类的新实例。

MobileServiceInvalidOperationException(String, HttpRequestMessage, HttpResponseMessage, JObject)

初始化 MobileServiceInvalidOperationException 类的新实例。

MobileServiceInvalidOperationException(String, HttpRequestMessage, HttpResponseMessage)

初始化 MobileServiceInvalidOperationException 类的新实例。

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)

参数

message
String

异常消息。

request
HttpRequestMessage

起始服务请求。

response
HttpResponseMessage

返回的服务响应。

适用于

MobileServiceInvalidOperationException(String, Exception, HttpRequestMessage, HttpResponseMessage)

初始化 MobileServiceInvalidOperationException 类的新实例。

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)

参数

message
String

异常消息。

innerException
Exception

此异常的内部异常

request
HttpRequestMessage

起始服务请求。

response
HttpResponseMessage

返回的服务响应。

适用于

MobileServiceInvalidOperationException(String, HttpRequestMessage, HttpResponseMessage, JObject)

初始化 MobileServiceInvalidOperationException 类的新实例。

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)

参数

message
String

异常消息。

request
HttpRequestMessage

起始服务请求。

response
HttpResponseMessage

返回的服务响应。

value
Newtonsoft.Json.Linq.JObject

反序列化为 JObject 的服务器响应。

适用于