HostChangedEventArgs Constructor

Creates an instance of HostChangedEventArgs.

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

public HostChangedEventArgs (
         NetworkGamer oldHost,
         NetworkGamer newHost
)

Parameters

oldHost
The player who was the previous session host.
newHost
The player who is the new host of the multiplayer session.

Xbox 360, Windows 7, Windows Vista, Windows XP
Show: