Share via


GameServiceContainer.RemoveService Method

Removes the object providing a specified service.

Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework.Game (in microsoft.xna.framework.game.dll)

Syntax

public void RemoveService (
         Type type
)

Parameters

  • type
    The type of service.

Exceptions

Exception type Condition
ArgumentNullException The type parameter is null.

See Also

Reference

GameServiceContainer Class
GameServiceContainer Members
Microsoft.Xna.Framework Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista