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 VB).
public DicomException(
string message,
DicomExceptionCode code
)
Public Function New( _
ByVal message As String, _
ByVal code As Leadtools.Dicom.DicomExceptionCode _
)
public DicomException(
string message,
Leadtools.Dicom.DicomExceptionCode code
)
function DicomException(
message ,
code
)
public:
DicomException(
String^ message,
Leadtools.Dicom.DicomExceptionCode code
)
message
A 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.
For an example, refer to DicomException.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET