Guide.ShowPartySessions Method

Shows the Play with Party Member screen.

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

Syntax

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.41).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.

See Also

Tasks

Inviting a Group to Join Your Game (Xbox 360)

Reference

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

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP