LEADTOOLS Medical (Leadtools.Dicom assembly)
LEAD Technologies, Inc

DicomException Constructor(String,DicomExceptionCode)








A System.String that describes the error. The content of message is intended to be understood by humans. The caller of this constructor is required to ensure that this string has been localized for the current system culture.
A Code that specifies what caused this exception.
Initializes a new instance of the DicomException class with its Message string set to message, its Code set to code and its inner exception set to a null reference (Nothing in Visual Basic). .NET support WinRT support Silverlight support
Syntax
public DicomException( 
   string message,
   DicomExceptionCode code
)
'Declaration
 
Public Function New( _
   ByVal message As String, _
   ByVal code As DicomExceptionCode _
)
'Usage
 
Dim message As String
Dim code As DicomExceptionCode
 
Dim instance As New DicomException(message, code)
public DicomException( 
   string message,
   DicomExceptionCode code
)
ObjectiveC Syntax
Java Syntax
function DicomException( 
   message ,
   code 
)
public:
DicomException( 
   String^ message,
   DicomExceptionCode code
)

Parameters

message
A System.String that describes the error. The content of message is intended to be understood by humans. The caller of this constructor is required to ensure that this string has been localized for the current system culture.
code
A Code that specifies what caused this exception.
Example
For an example, refer to DicomException.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DicomException Class
DicomException Members
Overload List

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.

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