Click or drag to resize

X12Reader Constructor (Stream, String, Encoding, Boolean, Int32)

Initializes a new instance of the X12Reader class.

Namespace:  EdiFabric.Framework.Readers
Assembly:  EdiFabric.Framework (in EdiFabric.Framework.dll) Version: 8.2.0
Syntax
public X12Reader(
	Stream ediStream,
	string rulesAssembly,
	Encoding encoding = null,
	bool continueOnError = false,
	int maxSegmentLength = 5000
)

Parameters

ediStream
Type: System.IOStream
The EDI stream to read from.
rulesAssembly
Type: SystemString
The name of the assembly containing the EDI classes.
encoding (Optional)
Type: System.TextEncoding
The encoding. The default is Encoding.UTF8.
continueOnError (Optional)
Type: SystemBoolean
Whether to continue searching for valid data after an error occurs.
maxSegmentLength (Optional)
Type: SystemInt32
The maximum length of a segment after which the search for segment terminator seizes.

Return Value

Type: 
A new instance of the X12Reader class.
See Also