Edit

Share via


MultiplayerSessionVisibility Enum

Definition

Defines values that indicate how visible a session is.

[Windows.Foundation.Metadata.Version(1)]
public enum MultiplayerSessionVisibility
type MultiplayerSessionVisibility = 
Public Enum MultiplayerSessionVisibility
Inheritance
MultiplayerSessionVisibility
Attributes
Windows.Foundation.Metadata.VersionAttribute

Fields

Name Value Description
Unknown 0

Unknown.

Any 1

Ignore the SessionVisibility filter.

Private 2

The session is private and it's not visible to other users who aren't in the session. Attempting to join a private session causes the server to return HTTP_E_STATUS_FORBIDDEN.

Visible 3

The session is visible to other users who aren't in the session, but the session is read-only to them and they can't join. Attempting to join a visible session causes the service to return HTTP_E_STATUS_FORBIDDEN.

Full 4

The session is full and cannot be joined by anyone.
Joining an open but full session causes the service to return HTTP_E_STATUS_BAD_REQUEST (400).

Open 5

The session is open and can be joined by anyone.

Applies to