ExceptionHandlingScope.StartScope 方法

Initiates a code block that contains calls to the StartTry(), StartCatch(), and StartFinally() methods.

命名空间:  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 StartScope As IDisposable
用法
Dim instance As ExceptionHandlingScope
Dim returnValue As IDisposable

returnValue = instance.StartScope()
public IDisposable StartScope()

返回值

类型:System.IDisposable
The interface that is used to end the scope.

备注

This method associates the exception-handling scope with the request so that the scope can receive data back from server.

另请参阅

引用

ExceptionHandlingScope 类

ExceptionHandlingScope 成员

Microsoft.SharePoint.Client 命名空间