共用方式為


NetworkSession Class

Represents a multiplayer game session.

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

Syntax

public sealed class NetworkSession : IDisposable

Remarks

An XNA Framework game can only initiate a single multiplayer session at a time. To start a multiplayer session, make a call to Create or use Find or BeginFind to search for and join an existing network session.

See Also

Tasks

Creating a Network Session
Finding and Joining a Network Session

Concepts

Network Session Management

Reference

NetworkSession Members
Microsoft.Xna.Framework.Net Namespace

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP