Admin Production rocket
Current Publication

Delegates

Reflection Desktop .NET API Guide V17.0
Rocket® Reflection Desktop (formerly a product of Micro Focus or formerly a product of Open Text) documentation that was created prior to Rocket Software's acquisition of certain products from OpenText may contain outdated references to "Micro Focus” or “OpenText”, which are trademarks of OpenText. Rocket Software is not affiliated with Micro Focus or OpenText and has rebranded these products as Rocket® products.
The source of the event.
An AsyncCompletedEventArgs type that contains an Error property that indicates which error (if any) occurred during the InitInstance call.
TerminalInitializedEventHandler Delegate
In This Topic
Event handler delegate for session started event.
Syntax

                     
                     
'Declaration
 

                     
                     
Public Delegate Sub TerminalInitializedEventHandler( _
   ByVal sender As Object, _
   ByVal e As AsyncCompletedEventArgs _
) 

                  

                     
                     
'Usage
 

                     
                     
Dim instance As New TerminalInitializedEventHandler(AddressOf HandlerMethod)

                  

                     
                     
public delegate void TerminalInitializedEventHandler( 
   object sender,
   AsyncCompletedEventArgs e
)

                  

Parameters

sender
The source of the event.
e
An AsyncCompletedEventArgs type that contains an Error property that indicates which error (if any) occurred during the InitInstance call.
Remarks

Use this event handler to check for any errors that may have occurred during terminal initialization.

Example
private void openSystemsGraphicsTerminalControl1_TerminalInitializedEvent(object sender, AsyncCompletedEventArgs e)
{
    // Check if error occurred during the terminal initialization
    if (e.Error != null)
    {
        MessageBox.Show("Error during terminal initialization step: " + e.Error); return;
    }
 
}
See Also