Visual Basic (Declaration) | |
---|---|
Public Function New( _ ByVal message As String, _ ByVal code As RasterDocumentExceptionCode _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public RasterDocumentException( string message, RasterDocumentExceptionCode code ) |
C++/CLI | |
---|---|
public: RasterDocumentException( String^ message, RasterDocumentExceptionCode 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
- An RasterDocumentExceptionCode that specifies what caused this exception.
The constructor initializes the Message property of the new instance using message and the Code
property of the new instance using code.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family