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


Xceed.SSH.Protocols Assembly > Xceed.SSH.Protocols Namespace > SSHKeyExchangeException Class > SSHKeyExchangeException Constructor : SSHKeyExchangeException Constructor(String,IEnumerable<String>,IEnumerable<String>,Exception)
A string representing the description.
A list of string representing the client algorithms.
A list of string representing the server algorithms.
The exception's inner exception.
Initializes a new instance of the SSHKeyExchangeException class using the passed description, client algorithms, server algorithms, and inner exception.
Syntax
'Declaration
 
Public Function New( _
   ByVal topic As String, _
   ByVal clientAlgorithms As IEnumerable(Of String), _
   ByVal serverAlgorithms As IEnumerable(Of String), _
   ByVal innerException As Exception _
)
'Usage
 
Dim topic As String
Dim clientAlgorithms As IEnumerable(Of String)
Dim serverAlgorithms As IEnumerable(Of String)
Dim innerException As Exception
 
Dim instance As New SSHKeyExchangeException(topic, clientAlgorithms, serverAlgorithms, innerException)
public SSHKeyExchangeException( 
   string topic,
   IEnumerable<string> clientAlgorithms,
   IEnumerable<string> serverAlgorithms,
   Exception innerException
)

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.
innerException
The exception's inner exception.
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