TrackingProfileDeserializationException.GetObjectData Method (SerializationInfo, StreamingContext)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Sets the SerializationInfo object with the collection of ValidationEventArgs associated with this exception, and additional exception information.

Namespace:   System.Workflow.Runtime.Tracking
Assembly:  System.Workflow.Runtime (in System.Workflow.Runtime.dll)

[SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter = true)]
public override void GetObjectData(
	SerializationInfo info,
	StreamingContext context


Type: System.Runtime.Serialization.SerializationInfo

A SerializationInfo that holds the serialized object data about the exception being thrown.

Type: System.Runtime.Serialization.StreamingContext

A StreamingContext that contains contextual information about the source or destination.

Exception Condition

info is a null reference (Nothing in Visual Basic)

GetObjectData sets a SerializationInfo with all the exception object data targeted for serialization. During deserialization the exception object is reconstituted from the SerializationInfo transmitted over the stream.

For more information see XML and SOAP Serialization.

.NET Framework
Available since 3.0
Return to top