NoSuitableGraphicsDeviceException Constructor (String, Exception)

Create a new instance of this object.

Syntax

'Declaration
Public Sub New ( _
         message As String, _
         inner As Exception _
)
public NoSuitableGraphicsDeviceException (
         string message,
         Exception inner
)
public:
NoSuitableGraphicsDeviceException(
         String message,
         Exception inner
)

Parameters

  • message
    Type: String
    A message that describes the error.
  • inner
    Type: Exception
    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.

Requirements

Namespace: Microsoft.Xna.Framework.Graphics

Assembly: Microsoft.Xna.Framework.Graphics (in microsoft.xna.framework.graphics.dll)

See Also

Reference

NoSuitableGraphicsDeviceException Class
NoSuitableGraphicsDeviceException Members
Microsoft.Xna.Framework.Graphics Namespace

Platforms

Windows Phone