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
- serviceProvider
Type: IServiceProvider
The service provider the ContentManager should use to locate services. - resourceManager
Type: ResourceManager
The resource manager for the ResourceContentManager to read from.
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