Constructor SshCommandException
- Namespace
- SshSharp
- Assembly
- SshSharp.dll
SshCommandException(string, int?, SshExitSignal?, ReadOnlyMemory<byte>)
Creates the exception.
public SshCommandException(string message, int? exitStatus, SshExitSignal? exitSignal, ReadOnlyMemory<byte> standardError)
Parameters
messagestringA description.
exitStatusint?The command's exit status, or null if it reported none.
exitSignalSshExitSignalThe signal that ended the command, if any.
standardErrorReadOnlyMemory<byte>What the command wrote to standard error; only the last 4 KiB is kept (copied).