Table of Contents

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

message string

A description.

exitStatus int?

The command's exit status, or null if it reported none.

exitSignal SshExitSignal

The signal that ended the command, if any.

standardError ReadOnlyMemory<byte>

What the command wrote to standard error; only the last 4 KiB is kept (copied).