Initiates the start of a custom code block that is to be executed on the client when the server throws an exception.
命名空间: Microsoft.SharePoint.Client
程序集: Microsoft.SharePoint.Client.Silverlight.Runtime(位于 Microsoft.SharePoint.Client.Silverlight.Runtime.dll 中); Microsoft.SharePoint.Client.Runtime(位于 Microsoft.SharePoint.Client.Runtime.dll 中) Microsoft.SharePoint.Client.Phone.Runtime(位于 Microsoft.SharePoint.Client.Phone.Runtime.dll 中)
语法
声明
Public Function StartCatch As IDisposable
用法
Dim instance As ExceptionHandlingScope
Dim returnValue As IDisposable
returnValue = instance.StartCatch()
public IDisposable StartCatch()
返回值
类型:System.IDisposable
The interface that is used to end the catch scope.
备注
This method must be called after the StartTry() method is called.