ExchangeMessageReader.CancelRead
Syntax:
Description:
Availability:
Example:
ReadingMessage = ExchangePlans.CreateMessageReader(); XMLReader = New XMLReader; XMLReader.OpenFile(FileName); ReadingMessage.BeginRead(XMLReader); // Actions to read the message body If Failure Then ReadingMessage.CancelRead(); Else ReadingMessage.EndRead(); EndIf; |