InvalidContentException Constructor

Creates an instance of InvalidContentException.

Overload List

Name Description
InvalidContentException () Initializes a new instance of the InvalidContentException class
InvalidContentException (SerializationInfo, StreamingContext) Initializes a new instance of the InvalidContentException class with information on serialization and streaming context for the related content item.
InvalidContentException (String) Initializes a new instance of the InvalidContentException class with the specified error message.
InvalidContentException (String, ContentIdentity) Initializes a new instance of the InvalidContentException class with the specified error message and the identity of the content throwing the exception.
InvalidContentException (String, ContentIdentity, Exception) Initializes a new instance of the InvalidContentException class with the specified error message, the identity of the content throwing the exception, and a reference to the inner exception that is the cause of this exception.
InvalidContentException (String, Exception) Initializes a new instance of the InvalidContentException class with the specified error message and a reference to the inner exception that is the cause of this exception.

See Also

Reference

InvalidContentException Class
InvalidContentException Members
Microsoft.Xna.Framework.Content.Pipeline Namespace