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.Net (in microsoft.xna.framework.net.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 7, Windows Vista, Windows XP