共用方式為


NetworkSession.HostChanged Event

Occurs when the session host has changed.

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

Syntax

public event EventHandler<HostChangedEventArgs> HostChanged

Remarks

HostChanged is only raised during host migration, and not when the session is first created.

See Also

Reference

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

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP