ChangeBatchBase.Dispose Method (Boolean)

Releases the unmanaged resources used by the ChangeBatchBase object and optionally releases the managed resources.

Namespace:  Microsoft.Synchronization
Assembly:  Microsoft.Synchronization (in Microsoft.Synchronization.dll)

Syntax

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

Me.Dispose(disposing)
protected virtual void Dispose(
    bool disposing
)
protected:
virtual void Dispose(
    bool disposing
)
abstract Dispose : 
        disposing:bool -> unit 
override Dispose : 
        disposing:bool -> unit 
protected function Dispose(
    disposing : boolean
)

Parameters

  • disposing
    Type: System.Boolean
    true to release both managed and unmanaged resources; false to release only unmanaged resources.

Exceptions

Exception Condition
ObjectDisposedException

This ChangeBatchBase has already been disposed.

Remarks

The Dispose method leaves the ChangeBatchBase object in an unusable state.

See Also

Reference

ChangeBatchBase Class

Dispose Overload

Microsoft.Synchronization Namespace