Table of Contents

Class NoSuitableGraphicsDeviceException

Namespace
Microsoft.Xna.Framework.Graphics
Assembly
MonoGame.Framework.dll

Thrown when no available graphics device fits the given device preferences.

[DataContract]
public sealed class NoSuitableGraphicsDeviceException : Exception, ISerializable
Inheritance
NoSuitableGraphicsDeviceException
Implements
Inherited Members

Constructors

NoSuitableGraphicsDeviceException()

Initializes a new instance of the NoSuitableGraphicsDeviceException class.

public NoSuitableGraphicsDeviceException()

NoSuitableGraphicsDeviceException(string)

Initializes a new instance of the NoSuitableGraphicsDeviceException class with a specified error message.

public NoSuitableGraphicsDeviceException(string message)

Parameters

message string

The message that describes the error.

NoSuitableGraphicsDeviceException(string, Exception)

Initializes a new instance of the NoSuitableGraphicsDeviceException with a specified error message and a reference to the inner exception that is the cause of this exception.

public NoSuitableGraphicsDeviceException(string message, Exception inner)

Parameters

message string

The message that describes the error.

inner Exception

The exception that is the cause of the current exception, or a null reference if no inner exception is specified.