共用方式為


HostChangedEventArgs Class

Represents the arguments passed to a HostChanged event. These arguments are passed to event handlers when the host changes for a multiplayer session. This class contains the NetworkGamer instance that is the new host of the multiplayer session.

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

Syntax

public class HostChangedEventArgs : EventArgs

See Also

Reference

HostChangedEventArgs Members
Microsoft.Xna.Framework.Net Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista, Zune