初始化 DataServiceRequestException 类的新实例。
命名空间: System.Data.Services.Client
程序集: Microsoft.Data.Services.Client(在 Microsoft.Data.Services.Client.dll 中)
语法
声明
Public Sub New ( _
message As String, _
innerException As Exception, _
response As DataServiceResponse _
)
用法
Dim message As String
Dim innerException As Exception
Dim response As DataServiceResponse
Dim instance As New DataServiceRequestException(message, _
innerException, response)
public DataServiceRequestException(
string message,
Exception innerException,
DataServiceResponse response
)
public:
DataServiceRequestException(
String^ message,
Exception^ innerException,
DataServiceResponse^ response
)
new :
message:string *
innerException:Exception *
response:DataServiceResponse -> DataServiceRequestException
public function DataServiceRequestException(
message : String,
innerException : Exception,
response : DataServiceResponse
)
参数
- message
类型:System.String
错误消息文本。
- innerException
类型:System.Exception
包含内部异常的异常对象。
- response
类型:System.Data.Services.Client.DataServiceResponse
DataServiceResponse 对象。