InvalidContentException.InvalidContentException Method (Microsoft.Xna.Framework.Content.Pipeline)
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.
Namespace: Microsoft.Xna.Framework.Content.Pipeline
Assembly: MonoGame.Framework.Content.Pipeline (MonoGame.Framework.Content.Pipeline.dll 3.8.0.1082)
Assembly: MonoGame.Framework.Content.Pipeline (MonoGame.Framework.Content.Pipeline.dll 3.8.0.1082)
- C#
- VB
- F#
public InvalidContentException( string message, ContentIdentity contentIdentity, Exception innerException )
Syntax for VB is not yet implemented.
Syntax for F# is not yet implemented.
Parameters
- message
-
Type: System.String
A message that describes the error.
- contentIdentity
-
Type: Microsoft.Xna.Framework.Content.Pipeline.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.
- innerException
-
Type: System.Exception
The exception that is the cause of the current exception. If innerException is not a null reference, the current exception is raised in a catch block that handles the inner exception.
Supported in:
Windows DirectX Desktop
Linux Desktop
Windows DirectX Desktop
Linux Desktop