PowerSNMP for .NET
Marshal(String,VariableList,String,Object) Method




The root oid used in SnmpSocket.Walk.
List of variables to marshal to the UI thread.
Message to pass into the Walk event.
Object to pass to the Walk event; can be null.
Marshals a list of variables to the UI thread.
Syntax
Public Overloads Sub Marshal( _
   ByVal oid As String, _
   ByVal variables As VariableList, _
   ByVal message As String, _
   ByVal state As Object _
) 
Dim instance As Manager
Dim oid As String
Dim variables As VariableList
Dim message As String
Dim state As Object
 
instance.Marshal(oid, variables, message, state)

Parameters

oid
The root oid used in SnmpSocket.Walk.
variables
List of variables to marshal to the UI thread.
message
Message to pass into the Walk event.
state
Object to pass to the Walk event; can be null.
Remarks

This method can be used to marshal a subtree of variables from a worker thread to the UI thread for typical display purposes. Calls the OnWalk method, which raises the Walk event.

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

See Also

Reference

Manager Class
Manager Members
Overload List


PowerSNMP for .NET Documentation Version 8.0
© 2024 Dart Communications. All Rights Reserved.
Send comments on this topic