Microsoft.Xna.Framework.Content Namespace

Contains the run-time components of the Content Pipeline.

Classes

Name Description
Public Class ContentLoadException Exception used to report errors from the ContentManager.Load method.
Public Class ContentManager The ContentManager is the run-time component which loads managed objects from the binary files produced by the design time content pipeline. It also manages the lifespan of the loaded objects, disposing the content manager will also dispose any assets which are themselves IDisposable.
Public Class ContentReader A worker object that implements most of ContentManager.Load. A new ContentReader is constructed for each asset loaded.
Public Class ContentSerializerAttribute A custom Attribute that marks a field or property to control how it is serialized or to indicate that protected or private data should be included in serialization.
Public Class ContentSerializerCollectionItemNameAttribute A custom Attribute that marks a collection class to specify the XML element name for each item in the collection.
Public Class ContentSerializerIgnoreAttribute A custom Attribute that marks public fields or properties to prevent them from being serialized.
Public Class ContentSerializerRuntimeTypeAttribute A custom Attribute that specifies the corresponding run-time type of this object.
Public Class ContentSerializerTypeVersionAttribute A custom Attribute that specifies the corresponding run-time type version of this object.
Public Class ContentTypeReader Worker for reading a specific managed type from a binary format. Derive from this class to add new data types to the content pipeline system.
Public Class ContentTypeReader Worker for reading a specific managed type from a binary format.
Public Class ContentTypeReaderManager A manager that constructs and keeps track of type reader objects.
Public Class ResourceContentManager Subclass of ContentManager, which is specialized to read from .resx resource files rather than directly from individual files on disk.

See Also

Tasks

Concepts

Adding Content to a Game
What Is Content?