Table of Contents

Class MessageFactoryException

Namespace
Lextm.SharpSnmpLib.Messaging
Assembly
SharpSnmpLib.dll

Message factory exception.

[DataContract]
public sealed class MessageFactoryException : SnmpException, ISerializable
Inheritance
MessageFactoryException
Implements
Inherited Members

Constructors

MessageFactoryException()

public MessageFactoryException()

MessageFactoryException(string)

Creates a MessageFactoryException instance with a specific string.

public MessageFactoryException(string message)

Parameters

message string

Message

MessageFactoryException(string, Exception)

Creates a MessageFactoryException instance with a specific string and an Exception.

public MessageFactoryException(string message, Exception inner)

Parameters

message string

Message

inner Exception

Inner exception

Methods

GetBytes()

Gets the bytes.

public byte[]? GetBytes()

Returns

byte[]

SetBytes(byte[])

Sets the bytes.

public void SetBytes(byte[] value)

Parameters

value byte[]

Bytes.

ToString()

Returns a string that represents this MessageFactoryException.

public override string ToString()

Returns

string