←Select platform

DicomException Constructor(string,DicomExceptionCode)

Summary

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).

Syntax
C#
VB
Java
C++
Public Function New( _ 
   ByVal message As String, _ 
   ByVal code As DicomExceptionCode _ 
) 
public DicomException(String message, DicomExceptionCode code)  
public: 
DicomException(  
   String^ message, 
   DicomExceptionCode code 
) 

Parameters

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.

Example

For an example, refer to DicomException.

Requirements

Target Platforms

Help Version 20.0.2019.3.11
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom Assembly