共用方式為


NetworkSession.GamerLeft Event

Occurs when a player leaves the multiplayer session.

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

Syntax

public event EventHandler<GamerLeftEventArgs> GamerLeft

Remarks

This event is raised for both local and remote gamers.

See Also

Tasks

Joining and Leaving a Game

Reference

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

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP