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)

public void RemoveService (
         Type type
)

Parameters

type
The type of service.

Exception typeCondition
ArgumentNullException The type parameter is null.

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

Community Additions

ADD
Show: