Export (0) Print
Expand All

Guide.ShowSignIn Method

Shows the user interface a gamer uses for signing into Xbox LIVE.

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

public static void ShowSignIn (
         int paneCount,
         bool onlineOnly
)

Parameters

paneCount
Type: Int32

Number of panes displayed at sign in. Each pane accepts a single gamer.

On Windows and Windows Phone, only a single pane can be displayed. On Xbox 360, valid values are 1, 2, and 4.

onlineOnly
Type: Boolean
Determines the profile types being displayed. true if only online profiles are displayed; false otherwise. If onlineOnly is true, local gamers can sign in as guests of a profile currently signed in.

Exception typeCondition
ArgumentExceptionThe paneCount argument is invalid. Valid options for this parameter are 1, 2, and 4.

Bb975995.note(en-us,XNAGameStudio.41).gifWindows Phone Specific Information
If gamer services are not yet initialized, this method throws an InvalidOperationException. If gamer services are initialized, this method attempts to fetch gamer privileges if needed. In either case, no UI is shown when this method is called on Windows Phone.

Xbox 360, Windows 7, Windows Vista, Windows XP

Community Additions

ADD
Show:
© 2014 Microsoft