Class ConnectionTerminatedException
Exception ConnectionTerminatedException. Fires when a VPN connection is terminated by an external source.
Namespace: VpnSDK
Assembly: cs.temp.dll.dll
Syntax
public class ConnectionTerminatedException : VpnException
Constructors
ConnectionTerminatedException(String)
Initializes a new instance of the ConnectionTerminatedException class.
Declaration
public ConnectionTerminatedException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The message to pass to the calling code. |
ConnectionTerminatedException(String, Exception)
Initializes a new instance of the ConnectionTerminatedException class.
Declaration
public ConnectionTerminatedException(string message, Exception inner)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The message to pass to the calling code. |
Exception | inner | The exception that we are passing up. |
Properties
Type
Gets the error type.
Declaration
public override ErrorType Type { get; }
Property Value
Type | Description |
---|---|
ErrorType | The error type. |