共用方式為


NetworkSession.GameEnded Event

Occurs when the game moves from gameplay to the lobby.

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

Syntax

public event EventHandler<GameEndedEventArgs> GameEnded

See Also

Tasks

Managing Player Movement Between Lobby and Gameplay Modes

Reference

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

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP