Click or drag to resize

VdaWriterWriteAsync(EdiMessage, CancellationToken, Boolean, Separators) Method

Writes a message to the destination asynchronously with cancellation token.

Namespace: EdiFabric.Framework.Writers
Assembly: EdiFabric (in EdiFabric.dll) Version: 10.7.4.0
Syntax
public override Task WriteAsync(
	EdiMessage message,
	CancellationToken token,
	bool autoTrailer = true,
	Separators separators = null
)

Parameters

message  EdiMessage
The message to write.
token  CancellationToken
The cancellation token.
autoTrailer  Boolean  (Optional)
Whether to auto generate the trailer. True by default.
separators  Separators  (Optional)
The separators. Allows to write multiple messages to the destination, each with its own separators.

Return Value

Task
Task
See Also