Session.OutputDataReceived Event
Occurs on output from WinSCP console session.
Syntax
C#
public sealed class OutputDataReceivedEventArgs : EventArgs { public string Data { get; } } public delegate void OutputDataReceivedEventHandler( object sender, OutputDataReceivedEventArgs e ); public event OutputDataReceivedEventHandler OutputDataReceived;
VB.NET
Public NotInheritable Class OutputDataReceivedEventArgs Inherits EventArgs Property Data As String Public Get End Property End Class Public Delegate Sub OutputDataReceivedEventHandler( sender As Object, e As OutputDataReceivedEventArgs ) Public Custom Event OutputDataReceived As OutputDataReceivedEventHandler
Remarks
Note that the output is also collected in Session.Output
.