←Select platform

Message Property

Summary

Gets a message that describes the current exception.

Syntax

C#
VB
Java
WinRT C#
C++
public override string Message { get; } 
Public Overrides ReadOnly Property Message As String 
public override string Message {get;} 
public String getMessage() 
 get_Message();  
public: 
property String^ Message { 
   String^ get() override; 
} 

Property Value

The error message that explains the reason for the exception, or an empty string("").

Remarks

If this DicomException instance was initialized with a specific Code but no specific message, then this property will return the default error string that corresponds to Code.

You can get the error string that corresponds to any Code through the GetCodeMessage method.

Example

For an example, refer to DicomException.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom Assembly