共用方式為


NetworkSessionEndedEventArgs.EndReason Property

Gets the reason for ending a session.

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

Syntax

public NetworkSessionEndReason EndReason { get; }

Property Value

Reason for ending the session.

See Also

Reference

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

Platforms

Xbox 360, Windows XP SP2, Windows Vista, Zune