GamerServicesComponent.Initialize Method
Initializes the GamerServicesDispatcher.
Namespace: Microsoft.Xna.Framework.GamerServices
Assembly: Microsoft.Xna.Framework.Game (in microsoft.xna.framework.game.dll)
Syntax
public override void Initialize ()
Exceptions
Exception type | Condition |
---|---|
GamerServicesNotAvailableException |
|
ArgumentNullException | serviceProvider is null. |
InvalidOperationException | The gamer services functionality is already initialized. |
Remarks
Important
Games for Windows - LIVE is unavailable to finished games. This functionality is not included in the redistributable version of the XNA Framework. A game that attempts to use these components without XNA Game Studio installed will result in a GamerServicesNotAvailableException.
See Also
Reference
GamerServicesComponent Class
GamerServicesComponent Members
Microsoft.Xna.Framework.GamerServices Namespace
Platforms
Xbox 360, Windows 7, Windows Vista, Windows XP