InfoConnect for Unisys
SettingsLoading Event


This event is triggered immediately before a settings file is opened.
Syntax
'Declaration
 
<SuppressMessageAttribute(Category="Microsoft.Design", 
   CheckId="CA1009:DeclareEventHandlersCorrectly", 
   Scope="", 
   Target="", 
   MessageId="", 
   Justification="")>
Event SettingsLoading As SettingsLoadingEventHandler
'Usage
 
Dim instance As ITerminal
Dim handler As SettingsLoadingEventHandler
 
AddHandler instance.SettingsLoading, handler
[SuppressMessage(Category="Microsoft.Design", 
   CheckId="CA1009:DeclareEventHandlersCorrectly", 
   Scope="", 
   Target="", 
   MessageId="", 
   Justification="")]
event SettingsLoadingEventHandler SettingsLoading
Event Data

The event handler receives an argument of type SettingsLoadingEventArgs containing data related to this event. The following SettingsLoadingEventArgs properties provide information specific to this event.

PropertyDescription
CancelGets or sets the Cancel property. Set the Cancel property to true the event. (Inherited from Attachmate.Reflection.CancelableEventArgs)
SettingsFile  
Remarks
This event is fired only when the ITerminal.OpenSettings method is used. For code that should run before any connection occurs, use the ITerminal.Connecting event.
See Also