NetworkSession.StartGame Method
Changes the session state from NetworkSessionState.Lobby to NetworkSessionState.Playing.
Namespace: Microsoft.Xna.Framework.Net
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
Syntax
public void StartGame ()
Exceptions
Exception type | Condition |
---|---|
ObjectDisposedException | This is disposed. |
InvalidOperationException | This NetworkSession is not the host, or is in an invalid state to call this method. |
See Also
Reference
NetworkSession Class
NetworkSession Members
Microsoft.Xna.Framework.Net Namespace
Platforms
Xbox 360, Windows XP SP2, Windows Vista, Zune