XmlCancelEventArgs class | QSYS API Reference Guide
Provides data for the XmlCancelEvent event.
Namespace: ASNA.DataGate.Client Assembly: ASNA.QSys.DataGate.Client.dll
Inheritance: Object –> EventArgs
Remarks
This class contains information about an event that is raised when an XML operation is cancelled. It includes properties for getting the message associated with the event, the type of the event, any exception that occurred, and whether the operation should be cancelled. This can be useful for handling errors or interruptions during XML operations.
Properties
Type | Name | Description |
---|---|---|
Boolean | Cancel | Gets or sets a value indicating whether the XML event should be cancelled. |
Exception | Exception | Gets or sets the exception associated with the XML event. |
IEnumerable<Object> | ExtendedInfo | Gets the extended information for the XML event. |
String | Message | Gets the formatted message for the XML event. |
XmlInfoMsgType | MessageID | Gets or sets the message ID for the XML event. |
XmlInfoEventType | Type | Gets or sets the type of the XML event. |
Methods
Signature | Description |
---|---|
ToString() | Returns a string that represents the current object. |
string ToString()
Returns a string that represents the current object.
Remarks
This method overrides the base ToString method and returns the Message property of the XmlCancelEventArgs object. The Message property contains a formatted string that represents the details of the event. This can be useful for logging or displaying detailed information about the event.
string ToString()