DataServiceRequestException 建構函式 (String, Exception, DataServiceResponse)
初始化 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 物件。
請參閱
參考
DataServiceRequestException 類別