次の方法で共有


GamerServicesComponent.Update Method

Updates the GamerServicesDispatcher.

Syntax

'Declaration
Public Overrides Sub Update ( _
         gameTime As GameTime _
)
public override void Update (
         GameTime gameTime
)
public:
void Update(
         GameTime gameTime
) override

Parameters

  • gameTime
    Type: GameTime
    The game timing state.

Remarks

If Xbox LIVE has been turned off, Update can generate an InvalidOperationException. Developers should ensure the InvalidOperationException is handled to avoid a potential crash.

Requirements

Namespace: Microsoft.Xna.Framework.GamerServices

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

See Also

Reference

GamerServicesComponent Class
GamerServicesComponent Members
Microsoft.Xna.Framework.GamerServices Namespace

Platforms

Windows Phone