Leadtools.MediaWriter Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.0.01.14
MediaWriterException Constructor(String,MediaWriterExceptionCode)
See Also 
Leadtools.MediaWriter Namespace > MediaWriterException Class > MediaWriterException Constructor : MediaWriterException Constructor(String,MediaWriterExceptionCode)



message
The error message that explains the reason for the exception.
code
flag that indicates the code causing the exception.

The MediaWriterException Constructor(String,MediaWriterExceptionCode) is available in LEADTOOLS Document and Medical Imaging toolkits.

Initializes a new instance of the MediaWriterException class with a specified error message, its Code set to a specified MediaWriterExceptionCode value and its inner exception set to a null reference.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal message As String, _
   ByVal code As MediaWriterExceptionCode _
)
Visual Basic (Usage)Copy Code
Dim message As String
Dim code As MediaWriterExceptionCode
 
Dim instance As MediaWriterException(message, code)
C# 
public MediaWriterException( 
   string message,
   MediaWriterExceptionCode code
)
C++/CLI 
public:
MediaWriterException( 
   String^ message,
   MediaWriterExceptionCode code
)

Parameters

message
The error message that explains the reason for the exception.
code
flag that indicates the code causing the exception.

Remarks

The constructor initializes the Message property of the new instance using message.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

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