次の方法で共有


ContentLoadException Constructor (String, Exception)

Creates a new instance of ContentLoadException.

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

Syntax

public ContentLoadException (
         string message,
         Exception innerException
)

Parameters

  • message
    A message that describes the error.
  • innerException
    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.

See Also

Reference

ContentLoadException Class
ContentLoadException Members
Microsoft.Xna.Framework.Content Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista