Loupe - Log - Monitor - Resolve
Gibraltar.Data.Internal Namespace / RepositoryMaintenance Class / QueueAsyncMaintenance Method
The maintenance delegate to execute
True to return as soon as the request has been submitted, false to wait for completion.

In This Topic
    QueueAsyncMaintenance Method
    In This Topic
    Attempts to execute the provided maintenance delegate on a dedicated thread.
    Syntax
    'Declaration
     
    
    Protected Sub QueueAsyncMaintenance( _
       ByVal maintenanceDelegate As WaitCallback, _
       ByVal asyncronous As Boolean _
    ) 
    protected void QueueAsyncMaintenance( 
       WaitCallback maintenanceDelegate,
       bool asyncronous
    )

    Parameters

    maintenanceDelegate
    The maintenance delegate to execute
    asyncronous
    True to return as soon as the request has been submitted, false to wait for completion.
    Remarks
    If there is already a maintenance operation underway then a new request is not queued. If not set to asynchronous execution the call will block until the pending maintenance is complete. If another maintainer is running then maintenance will be considered immediately complete.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also