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

MobileServiceODataException 构造函数

定义

重载

MobileServiceODataException()

创建 Microsoft.WindowsAzure.MobileService.MobileServiceODataException 类的新实例。

MobileServiceODataException(String, Int32)

创建包含错误消息的 Microsoft.WindowsAzure.MobileService.MobileServiceODataException 类的新实例。

MobileServiceODataException(String, Int32, Exception)

创建包含错误消息和内部异常的 Microsoft.WindowsAzure.MobileService.MobileServiceODataException 类的新实例。

MobileServiceODataException()

创建 Microsoft.WindowsAzure.MobileService.MobileServiceODataException 类的新实例。

public MobileServiceODataException ();
Public Sub New ()

适用于

MobileServiceODataException(String, Int32)

创建包含错误消息的 Microsoft.WindowsAzure.MobileService.MobileServiceODataException 类的新实例。

public MobileServiceODataException (string message, int errorPos);
new Microsoft.WindowsAzure.MobileServices.MobileServiceODataException : string * int -> Microsoft.WindowsAzure.MobileServices.MobileServiceODataException
Public Sub New (message As String, errorPos As Integer)

参数

message
String

此异常的纯文本错误消息。

errorPos
Int32

字符串中存在错误的位置。

适用于

MobileServiceODataException(String, Int32, Exception)

创建包含错误消息和内部异常的 Microsoft.WindowsAzure.MobileService.MobileServiceODataException 类的新实例。

public MobileServiceODataException (string message, int errorPos, Exception innerException);
new Microsoft.WindowsAzure.MobileServices.MobileServiceODataException : string * int * Exception -> Microsoft.WindowsAzure.MobileServices.MobileServiceODataException
Public Sub New (message As String, errorPos As Integer, innerException As Exception)

参数

message
String

此异常的纯文本错误消息。

errorPos
Int32

字符串中存在错误的位置。

innerException
Exception

作为引发此异常的原因的内部异常。

适用于