This documentation is archived and is not being maintained.

GamerPrivilegeException Class

Thrown if a gamer services or multiplayer API is called without a valid, signed-in profile.

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

public class GamerPrivilegeException : Exception

This exception is thrown if any of the following conditons are met.

  • No profile is currently signed in.
  • The signed-in profile has parental control settings prohibiting the requested action.

Xbox 360, Windows 7, Windows Vista, Windows XP, Windows Phone 7