共用方式為


NetworkSession.SessionType Property

Gets the current multiplayer session type.

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

Syntax

public NetworkSessionType SessionType { get; }

Property Value

The type of the multiplayer session.

See Also

Reference

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

Platforms

Xbox 360, Windows XP SP2, Windows Vista, Zune