Xceed FTP Library Documentation
XceedFtp control reference / Properties / BackgroundProcessing property
In This Topic
    BackgroundProcessing property
    In This Topic

    Example

    Description

    The BackgroundProcessing property controls whether or not XceedFtp control methods are executed immediately (blocking) or are run as background processes (non-blocking).

    Normally this property is set to False, so method calls are not executed as background processes, and therefore the entire operation is processed and completes when the method call returns. When the BackgroundProcessing property is set to True, the operation starts immediately, however the method call returns immediately even though the operation has not yet completed. When the operation completes, the ProcessCompleted event is triggered.

    Data type

    Boolean

    Default value

    False

    Remarks

    A separate thread is started by the library in order to accomplish the capability provided by setting this property to True. This property is useful when you need methods to be executed asynchronously.

    Declaration  

    HRESULT BackgroundProcessing( [out, retval] VARIANT_BOOL* pbVal );

    HRESULT BackgroundProcessing( [in] VARIANT_BOOL bVal );