| VdaWriterWriteAsync(EdiMessage, CancellationToken, Boolean, Separators) Method |
Writes a message to the destination asynchronously with cancellation token.
Namespace: EdiFabric.Framework.WritersAssembly: EdiFabric (in EdiFabric.dll) Version: 10.7.4.0
Syntax public override Task WriteAsync(
EdiMessage message,
CancellationToken token,
bool autoTrailer = true,
Separators separators = null
)
Public Overrides Function WriteAsync (
message As EdiMessage,
token As CancellationToken,
Optional autoTrailer As Boolean = true,
Optional separators As Separators = Nothing
) As Task
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
TaskTask
See Also