次の方法で共有


SignedInGamer.SignedIn Event

Occurs when a new gamer signs into the local system.

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

Syntax

public static event EventHandler<SignedInEventArgs> SignedIn

Remarks

This event is raised during calls to Update. When this event is raised, the LocalGamers collection will contain the newly signed-in gamer.

Behavior of Local Sessions

XNA Game Studio 3.0 introduces a change in the behavior of network sessions when local profiles sign out in the middle of a session. In previous versions of XNA Game Studio, a session would end whenever a player signed out. Now, profiles that sign out are removed from the session, and the session will be ended only if there are no suitable players left in the session.

See Also

Reference

SignedOut
SignedInGamer Class
SignedInGamer Members
Microsoft.Xna.Framework.GamerServices Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista, Zune