NetworkNotAvailableException Constructor (SerializationInfo, StreamingContext)

Note

This constructor is available only when developing for Windows.

Initializes a new NetworkNotAvailableException with serialization information and the streaming context.

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

Syntax

protected NetworkNotAvailableException (
         SerializationInfo info,
         StreamingContext context
)

Parameters

  • info
    Type: SerializationInfo
    Describes the network data being sent or received when the exception occurred.
  • context
    Type: StreamingContext
    Describes the stream where the exception occurred.

See Also

Reference

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

Platforms

Windows 7, Windows Vista, Windows XP