LEADTOOLS Multimedia (Leadtools.MediaWriter assembly) Send comments on this topic. | Main Raster Introduction | Multimedia Introduction | Help Version 17.0.3.30
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, Medical Imaging and Multimedia 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 New 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 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

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