Stderr Event

Fired when data (complete lines) come in through stderr.

Syntax

public event OnStderrHandler OnStderr;

public delegate void OnStderrHandler(object sender, SshellStderrEventArgs e);

public class SshellStderrEventArgs : EventArgs {
  public string Text { get; }
public byte[] TextB { get; } }
Public Event OnStderr As OnStderrHandler

Public Delegate Sub OnStderrHandler(sender As Object, e As SshellStderrEventArgs)

Public Class SshellStderrEventArgs Inherits EventArgs
  Public ReadOnly Property Text As String
Public ReadOnly Property TextB As Byte() End Class

Remarks

The Stderr event is fired every time the process on the remote host outputs a line in its error output. The incoming data is provided through the Text parameter.

Copyright (c) 2023 /n software inc. - All rights reserved.
IPWorks SSH 2020 .NET Edition - Version 20.0 [Build 8501]