InvalidContentException Constructor (SerializationInfo, StreamingContext)
Initializes a new instance of the InvalidContentException class with information on serialization and streaming context for the related content item.
Namespace: Microsoft.Xna.Framework.Content.Pipeline
Assembly: Microsoft.Xna.Framework.Content.Pipeline (in microsoft.xna.framework.content.pipeline.dll)
Syntax
protected InvalidContentException (
SerializationInfo serializationInfo,
StreamingContext streamingContext
)
Parameters
- serializationInfo
Information necessary for serialization and deserialization of the content item. - streamingContext
Information necessary for the source and destination of a given serialized stream. Also provides an additional caller-defined context.
See Also
Reference
InvalidContentException Class
InvalidContentException Members
Microsoft.Xna.Framework.Content.Pipeline Namespace
Platforms
Windows XP SP2, Windows Vista