DicomObjects Reference
DicomObjects Reference / DicomViewer Object / InfoMessage Event
An enumeration indicating the importance of the message as follows: 
0:  Fatal Error
1:  Protocol Error
2:  Warning
3:  Information
4:  Debugging trace

Human readable error message or notification.

InfoMessage Event
Description
Passes information back to the container for error messages and notifications originating from the DICOM interface
Syntax
Visual Basic
Public Event InfoMessage( _
   ByVal InfoType As Integer, _
   ByVal Text As String _
)
Parameters
InfoType
An enumeration indicating the importance of the message as follows: 
0:  Fatal Error
1:  Protocol Error
2:  Warning
3:  Information
4:  Debugging trace
Text

Human readable error message or notification.

Remarks

Where possible, objects pass error information back to the container via OLE exceptions, but this is not possible for errors originating from the DICOM interface, as there is no call from the container to the object in progress.  This event is therefore used for that purpose.

Debugging information may include all or part of the byte stream exchanged between DicomObjects and other entities, and is useful when communication failures occur.

See Also