Guide.ShowFriendRequest Method
Shows the Friend Request user interface.
Syntax
'Declaration
Public Shared Sub ShowFriendRequest ( _
player As PlayerIndex, _
gamer As Gamer _
)
public static void ShowFriendRequest (
PlayerIndex player,
Gamer gamer
)
public:
static void ShowFriendRequest(
PlayerIndex player,
Gamer gamer
)
Parameters
player
Type: PlayerIndexIndex of the player making the request.
The profile specified by player must be signed in when calling this function.
gamer
Type: Gamer
Recipient of the request.
Remarks
Windows Phone Specific Information |
---|
This method cannot be used on Windows Phone. If called, it throws a NotSupportedException. |
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