Share via


FileSyncProvider.Dispose Method (Boolean)

Releases the unmanaged resources that are used by FileSyncProvider and optionally releases the managed resources.

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

Syntax

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

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

Parameters

  • finalizing
    Type: System.Boolean
    true to finalize without releasing unmanaged resources; false to release unmanaged resources.

See Also

Reference

FileSyncProvider Class

Dispose Overload

Microsoft.Synchronization.Files Namespace