Guide.ShowPartySessions Method

Shows the Play with Party Member screen.

Syntax

'Declaration
Public Shared Sub ShowPartySessions ( _
         player As PlayerIndex _
)
public static void ShowPartySessions (
         PlayerIndex player
)
public:
static void ShowPartySessions(
         PlayerIndex player
)

Parameters

  • player
    Type: PlayerIndex
    The player index for whom the list of game sessions with party members is shown.

Remarks

Dd904215.note(en-us,XNAGameStudio.42).gifWindows Phone Specific Information
This method cannot be used on Windows Phone. If called, it throws a NotSupportedException.

This method brings up the Play with Party Member screen, which allows players to join game sessions with fellow party members in the current title.

If the player is not currently in a party, or if the platform lacks Xbox LIVE Party support, this method shows the Friends screen instead.

Requirements

Namespace: Microsoft.Xna.Framework.GamerServices

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

See Also

Reference

Guide Class
Guide Members
Microsoft.Xna.Framework.GamerServices Namespace

Platforms

Windows Phone