Dart.Snmp Namespace > MessageBase Class : Create Method |
Public Shared Function Create( _ ByVal encodedMessage As Segment, _ ByVal origin As IPEndPoint, _ ByVal requestSecurity As Security, _ ByVal entity As SnmpBase _ ) As MessageBase
Dim encodedMessage As Segment Dim origin As IPEndPoint Dim requestSecurity As Security Dim entity As SnmpBase Dim value As MessageBase value = MessageBase.Create(encodedMessage, origin, requestSecurity, entity)
public static MessageBase Create( Segment encodedMessage, IPEndPoint origin, Security requestSecurity, SnmpBase entity )
public: static MessageBase* Create( Segment* encodedMessage, IPEndPoint* origin, Security* requestSecurity, SnmpBase* entity )
public: static MessageBase^ Create( Segment^ encodedMessage, IPEndPoint^ origin, Security^ requestSecurity, SnmpBase^ entity )
Exception | Description |
---|---|
DecodingException | A decoding problem was experienced. |
The returned object will normally be cast to the appropriate type before use. If a version 3 message cannot be decrypted, a RequestMessage is created and null is returned if PDU values are referenced.