Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

InvalidContentException Class

Thrown when errors are encountered in content during processing.

Namespace: Microsoft.Xna.Framework.Content.Pipeline
Assembly: Microsoft.Xna.Framework.Content.Pipeline (in microsoft.xna.framework.content.pipeline.dll)

[SerializableAttribute]
public class InvalidContentException : Exception

InvalidContentException is an exception that any importer or content processor can throw to indicate a problem with the current content file. Exceptions of this type are presented differently from all other exceptions the pipeline throws. Exceptions of this type indicate a problem in the content. Other exceptions the content pipeline throws indicate a problem with the pipeline code itself. The InvalidContentException class has properties that identify the content file with the problem, if available.

Build content in XNA Game Studio for Windows Phone 7, Xbox 360, Windows 7, Windows Vista, and Windows XP.

Community Additions

ADD
Show:
© 2015 Microsoft