ExchangeMessageReader.BeginRead
Syntax:
Parameters:
<ReadXML> (required)
Object, through which the message is read.
<PermissibleMessageNumber> (optional)
Permissible message number that can be processed by the BeginRead method.
Default value: Greater.
Description:
When the message starts to be read, the writing to the database corresponding to the exchange plan node is locked in order to prevent other message read and write operations on the node in question from being performed while the message is being read. Moreover, modifications cannot be made to the node data during this time.
Availability:
Example:
ReadingMessage = ExchangePlans.CreateMessageReader(); XMLReader = New XMLReader; XMLReader.OpenFile(FileName); ReadingMessage.BeginRead(XMLReader, AllowedMessageNo.Next); |