Table of Contents

Class ContentLoadException

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

The exception that's thrown when an error occurs when loading content.

public class ContentLoadException : Exception, ISerializable
Inheritance
ContentLoadException
Implements
Inherited Members

Constructors

ContentLoadException()

Create a new ContentLoadException instance.

public ContentLoadException()

ContentLoadException(string)

Create a new ContentLoadException instance with the specified message.

public ContentLoadException(string message)

Parameters

message string

The message of the exception.

ContentLoadException(string, Exception)

Create a new ContentLoadException instance with the specified message and inner exception.

public ContentLoadException(string message, Exception innerException)

Parameters

message string

The message of the exception.

innerException Exception

The inner exception.