Table of Contents

Class DeviceNotResetException

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

The exception that is thrown when the device has been lost, but can be reset at this time.

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

Constructors

DeviceNotResetException()

Initializes a new instance of the DeviceNotResetException class.

public DeviceNotResetException()

DeviceNotResetException(string)

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

public DeviceNotResetException(string message)

Parameters

message string

The message that describes the error.

DeviceNotResetException(string, Exception)

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

public DeviceNotResetException(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.