共用方式為


NetworkSession.SessionProperties Property

Gets any custom properties that have been attached to the session.

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

Syntax

public NetworkSessionProperties SessionProperties { get; }

Property Value

Any custom properties that have been attached to the session.

Remarks

This NetworkSessionProperties is automatically synchronized across all the machines in the session, and can only be modified by the host. It can be used to filter sessions during matchmaking operations by passing in a set of required property values to Find or BeginFind.

See Also

Reference

NetworkSession Class
NetworkSession Members
Microsoft.Xna.Framework.Net Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista, Zune