ResourceContentManager Constructor
Creates a new instance of ResourceContentManager.
Namespace: Microsoft.Xna.Framework.Content
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
Syntax
public ResourceContentManager (
IServiceProvider serviceProvider,
ResourceManager resourceManager
)
Parameters
- serviceProvider
The service provider the ContentManager should use to locate services. - resourceManager
The resource manager for the ResourceContentManager to read from.
Exceptions
Exception type | Condition |
---|---|
ArgumentNullException | resourceManager is null. |
See Also
Reference
ResourceContentManager Class
ResourceContentManager Members
Microsoft.Xna.Framework.Content Namespace
Platforms
Xbox 360, Windows XP SP2, Windows Vista