InvalidContentException.InvalidContentException Method (Microsoft.Xna.Framework.Content.Pipeline)
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.
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, 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.
- 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