Chat Support
Loupe - Log - Monitor - Resolve
Gibraltar Namespace / AsynchronousTask Class / Execute Method
The method to be executed asynchronously
An end-user display title for this task.
Arguments to pass to the callBack delegate

In This Topic
    Execute Method
    In This Topic
    Execute the requested delegate asynchronously with the specified arguments.
    Syntax
    'Declaration
     
    
    Public Sub Execute( _
       ByVal callBack As WaitCallback, _
       ByVal title As String, _
       ByVal state As Object _
    ) 
    public void Execute( 
       WaitCallback callBack,
       string title,
       object state
    )

    Parameters

    callBack
    The method to be executed asynchronously
    title
    An end-user display title for this task.
    state
    Arguments to pass to the callBack delegate
    Remarks
    A progress dialog is displayed after a few moments and updated asynchronously as the task continues. If the user elects ot cancel the task, execution attempts to stop immediately and True is returned indicating the user canceled.
    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