Xceed .NET Libraries Documentation
SSHKeyExchangeException Constructor(String,IEnumerable<String>,IEnumerable<String>)


Xceed.SSH.Protocols Assembly > Xceed.SSH.Protocols Namespace > SSHKeyExchangeException Class > SSHKeyExchangeException Constructor : SSHKeyExchangeException Constructor(String,IEnumerable<String>,IEnumerable<String>)
A string representing the description.
A list of string representing the client algorithms.
A list of string representing the server algorithms.
Initializes a new instance of the SSHKeyExchangeException class using the passed description, client algorithms, and server algorithms.
Syntax
'Declaration
 
Public Function New( _

   ByVal topic As String, _

   ByVal clientAlgorithms As IEnumerable(Of String), _

   ByVal serverAlgorithms As IEnumerable(Of String) _

)
'Usage
 
Dim topic As String

Dim clientAlgorithms As IEnumerable(Of String)

Dim serverAlgorithms As IEnumerable(Of String)

 

Dim instance As New SSHKeyExchangeException(topic, clientAlgorithms, serverAlgorithms)
public SSHKeyExchangeException( 

   string topic,

   IEnumerable<string> clientAlgorithms,

   IEnumerable<string> serverAlgorithms

)

Parameters

topic
A string representing the description.
clientAlgorithms
A list of string representing the client algorithms.
serverAlgorithms
A list of string representing the server algorithms.
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

SSHKeyExchangeException Class
SSHKeyExchangeException Members
Overload List