NetworkException Constructor (SerializationInfo, StreamingContext)

Note

This constructor is available only when developing for Windows.

Initializes a new instance of NetworkException with the specified streaming context.

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

Syntax

protected NetworkException (
         SerializationInfo info,
         StreamingContext context
)

Parameters

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

See Also

Reference

NetworkException Class
NetworkException Members
Microsoft.Xna.Framework.Net Namespace

Platforms

Windows XP SP2, Windows Vista