Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
NetworkSessionState Enumeration

NetworkSessionState Enumeration

Defines the different states of a multiplayer session.

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

public enum NetworkSessionState

 Member nameDescription
LobbyThe local machine joins the session, waiting in the pregame lobby. The GameStarted event is raised when gameplay begins.
PlayingThe local machine joins the session, currently in the middle of gameplay. The GameEnded event is raised when the session returns to the lobby.
EndedThe local machine has left the current session or the session has ended. The SessionEnded event is raised at this time. The event's arguments describe the reason for the session ending.

Xbox 360, Windows XP SP2, Windows Vista, Zune

Community Additions

© 2015 Microsoft