PowerTCP SSH and SFTP for .NET
OnStateChanged Method (SshConnection)




An EventArgs that contains the event data.
Raises the StateChanged event.
Syntax
'Declaration
 
Protected Overridable Sub OnStateChanged( _
   ByVal e As BaseEventArgs _
) 
'Usage
 
Dim instance As SshConnection
Dim e As BaseEventArgs
 
instance.OnStateChanged(e)
protected virtual void OnStateChanged( 
   BaseEventArgs e
)
protected: virtual void OnStateChanged( 
   BaseEventArgs* e
) 
protected:
virtual void OnStateChanged( 
   BaseEventArgs^ e
) 

Parameters

e
An EventArgs that contains the event data.
Remarks
Raising an event invokes the event handler through a delegate.

Note to Inheritors: When overriding StateChanged in a derived class, be sure to call the base class StateChanged method so that registered delegates receive the event.

See the ComponentBase.SynchronizingObject property for important information on updating UI controls from within derived classes.

See Also

Reference

SshConnection Class
SshConnection Members


PowerTCP SSH and SFTP for .NET Documentation Version 7.0
© 2023 Dart Communications. All Rights Reserved.
Send comments on this topic