共用方式為


DataServiceQueryException 建構函式 (String, Exception, QueryOperationResponse)

初始化 DataServiceQueryException 類別的新執行個體。

命名空間:  System.Data.Services.Client
組件:  Microsoft.Data.Services.Client (在 Microsoft.Data.Services.Client.dll 中)

語法

'宣告
Public Sub New ( _
    message As String, _
    innerException As Exception, _
    response As QueryOperationResponse _
)
'用途
Dim message As String
Dim innerException As Exception
Dim response As QueryOperationResponse

Dim instance As New DataServiceQueryException(message, _
    innerException, response)
public DataServiceQueryException(
    string message,
    Exception innerException,
    QueryOperationResponse response
)
public:
DataServiceQueryException(
    String^ message, 
    Exception^ innerException, 
    QueryOperationResponse^ response
)
new : 
        message:string * 
        innerException:Exception * 
        response:QueryOperationResponse -> DataServiceQueryException
public function DataServiceQueryException(
    message : String, 
    innerException : Exception, 
    response : QueryOperationResponse
)

參數

  • message
    型別:System.String
    包含錯誤訊息的字串值。

請參閱

參考

DataServiceQueryException 類別

DataServiceQueryException 多載

System.Data.Services.Client 命名空間