NetworkSession.AllowJoinInProgress Property

Gets or sets whether join-in-progress is allowed. If the host enables this setting, new machines will be able to join at any time. The default value is false, indicating that join-in-progress is disabled. AllowJoinInProgress can be read by any machine in the session, but can only be changed by the host.

Namespace: Microsoft.Xna.Framework.Net
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

public bool AllowJoinInProgress { get; set; }

Property Value

true to enable join-in-progress, false otherwise. The default value is false.

Exception typeCondition
NotSupportedExceptionJoin-in-progress is not supported for multiplayer sessions of type NetworkSessionType.Ranked.
InvalidOperationExceptionThis session is not the host, and cannot change the value of AllowJoinInProgress.
ObjectDisposedExceptionThe session has been disposed.

When join-in-progress is disabled (the default state), new machines are only able to join while the session is in the lobby. The session will not be visible to matchmaking queries while in the actual gameplay state.

Xbox 360, Windows XP SP2, Windows Vista, Zune

Community Additions