InvalidContentException Constructor (String, ContentIdentity)
Initializes a new instance of the InvalidContentException class with the specified error message and the identity of the content throwing the exception.
Namespace: Microsoft.Xna.Framework.Content.Pipeline
Assembly: Microsoft.Xna.Framework.Content.Pipeline (in microsoft.xna.framework.content.pipeline.dll)
Syntax
public InvalidContentException (
string message,
ContentIdentity contentIdentity
)
Parameters
- message
A message that describes the error. - contentIdentity
Information about the content item that caused this error, including the file name. In some cases, a location within the file (of the problem) is specified.
See Also
Reference
InvalidContentException Class
InvalidContentException Members
Microsoft.Xna.Framework.Content.Pipeline Namespace
Platforms
Windows XP SP2, Windows Vista