PowerSNMP for .NET
SocketBase Class Members
Properties  Methods  Events


The following tables list the members exposed by SocketBase.

Public Properties
 NameDescription
Public PropertyContainer (Inherited from System.ComponentModel.Component)
Public PropertyEncoding Character encoding used by the component. (Inherited from Dart.Snmp.ComponentBase)
Public PropertySite (Inherited from System.ComponentModel.Component)
Public PropertySocket Gets the socket used by the component for communications.  
Public PropertySynchronizingObject Gets or sets the object used to marshal data to the UI thread (for raising events). (Inherited from Dart.Snmp.ComponentBase)
Public PropertySyncRoot Gets an object that is used to synchronize access to the upper layer protocol in use. (Inherited from Dart.Snmp.ComponentBase)
Public PropertyTag Gets or sets an object that stores any user data. (Inherited from Dart.Snmp.ComponentBase)
Top
Protected Properties
Public Methods
 NameDescription
Public MethodCreateObjRefCreates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from System.MarshalByRefObject)
Public MethodDisposeOverloaded. Overridden.  Disposes of SocketBase and its associated resources.  
Public MethodGetLifetimeServiceRetrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from System.MarshalByRefObject)
Public MethodInitializeLifetimeServiceObtains a lifetime service object to control the lifetime policy for this instance. (Inherited from System.MarshalByRefObject)
Public MethodMarshalOverloaded.  Marshals a string and/or object to the UI thread and raises the UserState event. (Inherited from Dart.Snmp.ComponentBase)
Public MethodToString (Inherited from System.ComponentModel.Component)
Top
Protected Methods
 NameDescription
Protected MethodFinalize (Inherited from System.ComponentModel.Component)
Protected MethodGetService (Inherited from System.ComponentModel.Component)
Protected MethodMemberwiseCloneOverloaded. Creates a shallow copy of the current System.MarshalByRefObject object. (Inherited from System.MarshalByRefObject)
Protected MethodOnErrorRaises the Error event. (Inherited from Dart.Snmp.ComponentBase)
Protected MethodOnUserStateRaises the UserState event. (Inherited from Dart.Snmp.ComponentBase)
Top
Public Events
 NameDescription
Public EventDisposed (Inherited from System.ComponentModel.Component)
Public EventErrorRaised when Marshal(Exception) is used or an unhandled Exception is thrown in a worker thread created using Start. (Inherited from Dart.Snmp.ComponentBase)
Public EventUserStateRaised when Marshal(String,Object) is used. (Inherited from Dart.Snmp.ComponentBase)
Top
See Also

Reference

SocketBase Class
Dart.Snmp Namespace

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