共用方式為


SignedInGamer.SignedIn Event

Occurs when a new gamer signs into the local system.

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

Syntax

public static event EventHandler<SignedInEventArgs> SignedIn

Remarks

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

Bb976014.note(en-us,XNAGameStudio.41).gifWindows Phone Specific Information

On Windows Phone this event is only raised once, right after the game starts.

See Also

Reference

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

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP