共用方式為


ClientRuntimeContext.Dispose Method (Boolean)

Disposes of the runtime context depending on the specified Boolean value.

Namespace:  Microsoft.SharePoint.Client
Assemblies:   Microsoft.SharePoint.Client.Silverlight.Runtime (in Microsoft.SharePoint.Client.Silverlight.Runtime.dll);  Microsoft.SharePoint.Client.Runtime (in Microsoft.SharePoint.Client.Runtime.dll)

Syntax

'Declaration
Protected Overridable Sub Dispose ( _
    disposing As Boolean _
)
'Usage
Dim disposing As Boolean

Me.Dispose(disposing)
protected virtual void Dispose(
    bool disposing
)

Parameters

  • disposing
    Type: System.Boolean

    true if the method has been called directly or indirectly by the user's code and managed and unmanaged resources can be disposed of; false if only unmanaged resources can be disposed of.

Remarks

This method disposes of the resource based on the specified parameter.

See Also

Reference

ClientRuntimeContext Class

ClientRuntimeContext Members

Dispose Overload

Microsoft.SharePoint.Client Namespace