NoSuitableGraphicsDeviceException Constructor (String, Exception)
Initializes a new instance of this class with a specified error message and a reference to the inner exception that is the cause of this exception.
Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework.Game (in microsoft.xna.framework.game.dll)
Syntax
public NoSuitableGraphicsDeviceException (
string message,
Exception inner
)
Parameters
- message
A message that describes the error. - inner
The exception that is the cause of the current exception. If the inner parameter is not a null reference, the current exception is raised in a catch block that handles the inner exception.
See Also
Reference
NoSuitableGraphicsDeviceException Class
NoSuitableGraphicsDeviceException Members
Microsoft.Xna.Framework Namespace
Platforms
Xbox 360, Windows XP SP2, Windows Vista