Partilhar via


ResourceContentManager Constructor

Creates a new instance of ResourceContentManager.

Syntax

'Declaration
Public Sub New ( _
         serviceProvider As IServiceProvider, _
         resourceManager As ResourceManager _
)
public ResourceContentManager (
         IServiceProvider serviceProvider,
         ResourceManager resourceManager
)
public:
ResourceContentManager(
         IServiceProvider serviceProvider,
         ResourceManager resourceManager
)

Parameters

Exceptions

Exception type Condition
ArgumentNullException resourceManager is null.

Requirements

Namespace: Microsoft.Xna.Framework.Content

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

See Also

Reference

ResourceContentManager Class
ResourceContentManager Members
Microsoft.Xna.Framework.Content Namespace

Platforms

Windows Phone