Share via


HostChangedEventArgs Constructor

Creates an instance of HostChangedEventArgs.

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

Syntax

public HostChangedEventArgs (
         NetworkGamer oldHost,
         NetworkGamer newHost
)

Parameters

  • oldHost
    Type: NetworkGamer
    The player who was the previous session host.
  • newHost
    Type: NetworkGamer
    The player who is the new host of the multiplayer session.

See Also

Reference

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

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP