Visual Basic (Declaration) | |
---|---|
Public Function New( _ ByVal code As RasterExceptionCode _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim code As RasterExceptionCode Dim instance As New RasterException(code) |
C# | |
---|---|
public RasterException( RasterExceptionCode code ) |
C++/CLI | |
---|---|
public: RasterException( RasterExceptionCode code ) |
Parameters
- code
- An RasterExceptionCode that specifies what caused this exception.
The RasterException class contains an internal list of messages that correspond to each RasterExceptionCode value. This constructor initializes the Message property of the new instance with the corresponding string for code.
Target Platforms: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only), Windows Phone 7