Export (0) Print
Expand All

NetworkSession.Create Method

Hosts a new multiplayer session.

Exception typeCondition
ArgumentOutOfRangeException One of the following conditions is true:
  • maxGamers is not in the range of gamers that are supported in a network session. The XNA Framework supports multiplayer sessions between two and 31 players in a session for a Windows or an Xbox 360 game.
  • privateGamerSlots is less than 0 or greater than maximumGamers.
InvalidOperationException

One of the following conditions is true:

ObjectDisposedException This NetworkSession is disposed.

Community Additions

ADD
Show:
© 2014 Microsoft