LEADTOOLS Medical (Leadtools.Dicom assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
GetCodeMessage Method
See Also 
Leadtools.Dicom Namespace > DicomException Class : GetCodeMessage Method



code
A DicomExceptionCode value to get the string message for.
code
A DicomExceptionCode value to get the string message for.
Gets the error string that corresponds to a specific Code. Supported in Silverlight, Windows Phone 7.

Syntax

Visual Basic (Declaration) 
Public Shared Function GetCodeMessage( _
   ByVal code As DicomExceptionCode _
) As String
Visual Basic (Usage)Copy Code
Dim code As DicomExceptionCode
Dim value As String
 
value = DicomException.GetCodeMessage(code)
C# 
public static string GetCodeMessage( 
   DicomExceptionCode code
)
C++/CLI 
public:
static String^ GetCodeMessage( 
   DicomExceptionCode code
) 

Parameters

code
A DicomExceptionCode value to get the string message for.

Return Value

A System.String that contains the current message for code.

Example

For an example, refer to DicomException.

Requirements

Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also

Leadtools.Dicom requires a Medical toolkit server license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features