Xceed .NET Libraries Documentation
Xceed.SSH.Protocols Assembly / Xceed.SSH.Protocols Namespace / UnsupportedSSHProtocolException Class / UnsupportedSSHProtocolException Constructor / UnsupportedSSHProtocolException Constructor(String,String,String)
A string representing the exception's message.
A string representing the actual version of the SSH server.
A string representing the desired version of the SSH server.


UnsupportedSSHProtocolException Constructor(String,String,String)
Initializes a new instance of the Unsupported SSHProtocolException class using the passed message text, actual version of the SSH server, and the desired SSH version.
Syntax
'Declaration
 
Public Function New( _
   ByVal message As String, _
   ByVal actualVersion As String, _
   ByVal desiredVersion As String _
)
 
'Usage
 
Dim message As String
Dim actualVersion As String
Dim desiredVersion As String
 
Dim instance As New UnsupportedSSHProtocolException(message, actualVersion, desiredVersion)

Parameters

message
A string representing the exception's message.
actualVersion
A string representing the actual version of the SSH server.
desiredVersion
A string representing the desired version of the SSH server.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also