Visual Basic (Declaration) | |
---|---|
Public Function New( _ ByVal errorId As Integer, _ ByVal errorMessage As String _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public RasterFault( int errorId, string errorMessage ) |
C++/CLI | |
---|---|
public: RasterFault( int errorId, String^ errorMessage ) |
Parameters
- errorId
- The code that caused the exception.
- errorMessage
- The error message that explains the reason for the exception, or an empty string("").
The constructor initializes the ErrorMessage property of the new instance using errorMessage and the ErrorId
property of the new instance using errorId.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family