Constructor SshAuthenticationException
- Namespace
- SshSharp
- Assembly
- SshSharp.dll
SshAuthenticationException(string, IReadOnlyList<string>)
Creates an exception.
public SshAuthenticationException(string message, IReadOnlyList<string> allowedMethods)
Parameters
messagestringA description.
allowedMethodsIReadOnlyList<string>The methods the server said it still accepts.
SshAuthenticationException(string, IReadOnlyList<string>, IReadOnlyList<SshAuthenticationAttempt>)
Creates an exception that lists the attempts made.
public SshAuthenticationException(string message, IReadOnlyList<string> allowedMethods, IReadOnlyList<SshAuthenticationAttempt> attempts)
Parameters
messagestringA description.
allowedMethodsIReadOnlyList<string>The methods the server said it still accepts.
attemptsIReadOnlyList<SshAuthenticationAttempt>Each attempt and what became of it, in order.