NetworkNotAvailableException Constructor (String, Exception)

Initializes a new NetworkNotAvailableException with a specified error message and a reference to the inner exception that caused the error.

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

Syntax

public NetworkNotAvailableException (
         string message,
         Exception innerException
)

Parameters

  • message
    Text that describes the error.
  • innerException
    The exception that caused the GameUpdateRequiredException. If this parameter is not null, this exception is raised in a catch block that handles the inner exception.

Remarks

The content of the message parameter is intended to be understood by humans. The caller of this constructor must ensure the string is localized for the current system culture.

An exception thrown as a direct result of a previous exception should include a reference to that previous exception in the innerException parameter. The InnerException property returns the same value that is passed into this constructor, or null if the caller did not supply the inner exception parameter to the constructor.

See Also

Reference

NetworkNotAvailableException Class
NetworkNotAvailableException Members
Microsoft.Xna.Framework.GamerServices Namespace

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP, Windows Phone 7