ContentLoadException Constructor (String, Exception)
Creates a new instance of ContentLoadException.
Syntax
'Declaration
Public Sub New ( _
message As String, _
innerException As Exception _
)
public ContentLoadException (
string message,
Exception innerException
)
public:
ContentLoadException(
String message,
Exception innerException
)
Parameters
- message
Type: String
A message that describes the error. - innerException
Type: Exception
The exception that is the cause of the current exception. If the innerException parameter is not a null reference, the current exception is raised in a catch block that handles the inner exception.
Requirements
Namespace: Microsoft.Xna.Framework.Content
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
See Also
Reference
ContentLoadException Class
ContentLoadException Members
Microsoft.Xna.Framework.Content Namespace
Platforms
Windows Phone