Xceed .NET Libraries Documentation
UnsupportedSSHProtocolException Constructor(String,String)


Xceed.SSH.Protocols Assembly > Xceed.SSH.Protocols Namespace > UnsupportedSSHProtocolException Class > UnsupportedSSHProtocolException Constructor : UnsupportedSSHProtocolException Constructor(String,String)
A string representing the actual version of the SSH server.
A string representing the desired version of the SSH server.
Initializes a new instance of the Unsupported SSHProtocolException class using the passed actual version of the SSH server and desired version.
Syntax
'Declaration
 
Public Function New( _
   ByVal actualVersion As String, _
   ByVal desiredVersion As String _
)
'Usage
 
Dim actualVersion As String
Dim desiredVersion As String
 
Dim instance As New UnsupportedSSHProtocolException(actualVersion, desiredVersion)
public UnsupportedSSHProtocolException( 
   string actualVersion,
   string desiredVersion
)

Parameters

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

Reference

UnsupportedSSHProtocolException Class
UnsupportedSSHProtocolException Members
Overload List