Output Event
Fires whenever a segment is complete.
Syntax
public event OnOutputHandler OnOutput; public delegate void OnOutputHandler(object sender, TradacomswriterOutputEventArgs e); public class TradacomswriterOutputEventArgs : EventArgs { public string OutputData { get; }
public byte[] OutputDataB { get; } }
Public Event OnOutput As OnOutputHandler Public Delegate Sub OnOutputHandler(sender As Object, e As TradacomswriterOutputEventArgs) Public Class TradacomswriterOutputEventArgs Inherits EventArgs Public ReadOnly Property OutputData As String
Public ReadOnly Property OutputDataB As Byte() End Class
Remarks
The Output event will fire when the writer completes a new segment and writes data to the output stream or buffer. The Data parameter contains the data bytes.