Reads the friends list of this signed-in gamer, including the gamertag and current presence information for each friend.
Assembly: Microsoft.Xna.Framework.GamerServices (in microsoft.xna.framework.gamerservices.dll)
public FriendCollection GetFriends ()
The friends of this local gamer.
|ObjectDisposedException||This object already has been disposed.|
|GamerPrivilegeException||A signed-in gamer profile is required to perform this operation. An Xbox LIVE profile also may be required. There are no profiles currently signed in, or the profile is not signed in to Xbox LIVE.|
On Windows Phone, this method always returns an empty collection.
Xbox 360, Windows 7, Windows Vista, Windows XP