初始化使用指定的异常消息和导致此异常的内部异常的引用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
)
参数
message
类型:System.String解释异常原因String对象。
innerException
类型:System.Exception如果不指定了任何内部异常是ClientRequestException,则为 null 引用的原因Exception 。