Class NatDeviceNotFoundException
Implements
Inherited Members
Namespace: SharpOpenNat
Assembly: SharpOpenNat.dll
Syntax
[Serializable]
public class NatDeviceNotFoundException : Exception, ISerializable
Constructors
| Edit this page View SourceNatDeviceNotFoundException()
Declaration
public NatDeviceNotFoundException()
NatDeviceNotFoundException(SerializationInfo, StreamingContext)
Initializes a new instance of the Exception class with serialized data.
Declaration
protected NatDeviceNotFoundException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
SerializationInfo | info | The SerializationInfo that holds the serialized object data about the exception being thrown. |
StreamingContext | context | The StreamingContext that contains contextual information about the source or destination. |
Exceptions
Type | Condition |
---|---|
ArgumentNullException |
|
SerializationException |
NatDeviceNotFoundException(string)
Declaration
public NatDeviceNotFoundException(string message)
Parameters
Type | Name | Description |
---|---|---|
string | message |
NatDeviceNotFoundException(string, Exception)
Declaration
public NatDeviceNotFoundException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
string | message | |
Exception | innerException |