NetworkSession.PrivateGamerSlots Property
Gets or sets the number of private slots reserved for gamers who join using an invitation.
Namespace: Microsoft.Xna.Framework.Net
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
Syntax
public int PrivateGamerSlots { get; set; }
Property Value
Number of private slots.
Exceptions
Exception type | Condition |
---|---|
ArgumentOutOfRangeException | There are not enough slots available to support this new value. |
ObjectDisposedException | This NetworkSession is disposed. |
InvalidOperationException | This NetworkSession is not the host, therefore it cannot set the property PrivateGamerSlots. |
See Also
Reference
NetworkSession Class
NetworkSession Members
Microsoft.Xna.Framework.Net Namespace
Platforms
Xbox 360, Windows XP SP2, Windows Vista, Zune