共用方式為


ClientRequestException 建構函式 (String, Exception)

初始化新類別的執行個體ClientRequestException指定的例外狀況訊息和內部會造成此例外狀況的例外狀況的參考。

命名空間:  Microsoft.SharePoint.Client
組件:   Microsoft.SharePoint.Client.Silverlight.Runtime (在 Microsoft.SharePoint.Client.Silverlight.Runtime.dll 中);  Microsoft.SharePoint.Client.Phone.Runtime (在 Microsoft.SharePoint.Client.Phone.Runtime.dll 中)  Microsoft.SharePoint.Client.Runtime (在 Microsoft.SharePoint.Client.Runtime.dll 中)

語法

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

Dim instance As New ClientRequestException(message, _
    innerException)
public ClientRequestException(
    string message,
    Exception innerException
)

參數

請參閱

參照

ClientRequestException 類別

ClientRequestException 成員

ClientRequestException 多載

Microsoft.SharePoint.Client 命名空間