PowerSNMP for .NET
OnTable Method




A TableEventArgs object containing event data.
Raises the Table event.
Syntax
Protected Overridable Sub OnTable( _
   ByVal e As TableEventArgs _
) 
Dim instance As Manager
Dim e As TableEventArgs
 
instance.OnTable(e)
protected virtual void OnTable( 
   TableEventArgs e
)
protected: virtual void OnTable( 
   TableEventArgs* e
) 
protected:
virtual void OnTable( 
   TableEventArgs^ e
) 

Parameters

e
A TableEventArgs object containing event data.
Remarks
If the Synchronizing property is set, this method asynchronously invokes the event on the UI thread. If the Synchronizing property is null, this method invokes the event on the executing thread.

The OnTable method allows derived classes to handle the event without attaching a delegate, but marshaling is not provided. This is the preferred technique for handling the event in a derived class.

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

See the SynchronizingObject property for information on updating UI controls in your event handler.

See Also

Reference

Manager Class
Manager Members

6.1.1.2
PowerSNMP for .NET Documentation Version 7.0
© 2023 Dart Communications. All Rights Reserved.
Send comments on this topic