InvalidContentException.GetObjectData Method (Microsoft.Xna.Framework.Content.Pipeline)

When overridden in a derived class, returns information about the exception. In addition to the base behavior, this method provides serialization functionality.

Namespace: Microsoft.Xna.Framework.Content.Pipeline
Assembly: MonoGame.Framework.Content.Pipeline (MonoGame.Framework.Content.Pipeline.dll 3.8.0.1082)
  • C#
  • VB
  • F#
public void GetObjectData(
	SerializationInfo info, 
	StreamingContext context
)

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

Parameters

info
Type: System.Runtime.Serialization.SerializationInfo
Information necessary for serialization and deserialization of the content item.
context
Type: System.Runtime.Serialization.StreamingContext
Information necessary for the source and destination of a given serialized stream. Also provides an additional caller-defined context.
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop