NetworkSessionJoinException.GetObjectData Method

Note

This method is available only when developing for Windows.

When overridden in a derived class, returns information about the exception. In addition to the base behavior, this method provides serialization functionality.

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

Syntax

public override void GetObjectData (
         SerializationInfo info,
         StreamingContext context
)

Parameters

  • info
    Type: SerializationInfo
    Information necessary for serialization and deserialization of the session item.
  • context
    Type: StreamingContext
    Information necessary for the source and destination of a given serialized stream. Also provides an additional caller-defined context.

See Also

Reference

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

Platforms

Windows 7, Windows Vista, Windows XP