Output Event

Fires whenever a segment is complete.

Syntax

public event OnOutputHandler OnOutput;

public delegate void OnOutputHandler(object sender, X12writerOutputEventArgs e);

public class X12writerOutputEventArgs : EventArgs {
  public string OutputData { get; }
public byte[] OutputDataB { get; } }
Public Event OnOutput As OnOutputHandler

Public Delegate Sub OnOutputHandler(sender As Object, e As X12writerOutputEventArgs)

Public Class X12writerOutputEventArgs 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.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks X12 2020 .NET Edition - Version 20.0 [Build 8155]