Output Event

Fires whenever a segment is complete.

Syntax

public event OnOutputHandler OnOutput;

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

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

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

Public Class Hl7writerOutputEventArgs 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 EDI 2020 .NET Edition - Version 20.0 [Build 8162]