Bagikan melalui


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)

Syntax

[SerializableAttribute]
public class GamerPrivilegeException : Exception

Remarks

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.

See Also

Reference

GamerPrivilegeException Members
Microsoft.Xna.Framework.GamerServices Namespace

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP