Click or drag to resize

BackgroundCopyManagerConnect Method

Connects to the BITS service and returns an instance of the BackgroundCopyManager class.

Namespace:  usis.Net.Bits
Assembly:  usis.Net.Bits (in usis.Net.Bits.dll) Version: 3.0.0.0 (3.0.0.0)
Syntax
public static BackgroundCopyManager Connect()

Return Value

Type: BackgroundCopyManager
An instance of the BackgroundCopyManager class.
Exceptions
ExceptionCondition
COMExceptionThe connection attempt to the BITS service failed.
Remarks
The returned BackgroundCopyManager object implements the IDisposable interface. Therefore you have to call Dispose to disconnect from the BITS service and to free all resources.
See Also