Class GraphicsException
An exception that is thrown when a graphics operation fails.
public class GraphicsException : Exception, ISerializable
- Inheritance
-
objectGraphicsException
- Implements
- Derived
- Inherited Members
- Extension Methods
Remarks
This is the base class for all exceptions related to graphics operations. Look at more specific exceptions to better understand the nature of the error.
Constructors
GraphicsException()
Initializes a new instance of the GraphicsException class with a default message.
public GraphicsException()
GraphicsException(string)
Initializes a new instance of the GraphicsException class with a specified error message.
public GraphicsException(string message)
Parameters
messagestringThe error message that explains the reason for the exception.
GraphicsException(string?, Exception?)
Initializes a new instance of the GraphicsException class with a specified error message and a reference to the inner exception that is the cause of this exception.
public GraphicsException(string? message, Exception? innerException)