StartGame Method

NetworkSession.StartGame Method

Changes the session state from NetworkSessionState.Lobby to NetworkSessionState.Playing.

Namespace: Microsoft.Xna.Framework.Net
Assembly: Microsoft.Xna.Framework.Net (in

public void StartGame ()

Exception typeCondition
ObjectDisposedException This is disposed.
InvalidOperationExceptionThis NetworkSession is not the host, or is in an invalid state to call this method.

Xbox 360, Windows 7, Windows Vista, Windows XP

Community Additions

© 2016 Microsoft