WorkflowMarkupSerializationException::GetObjectData Method (SerializationInfo^, StreamingContext)

 

Sets the specified SerializationInfo with information about the WorkflowMarkupSerializationException.

Namespace:   System.Workflow.ComponentModel.Serialization
Assembly:  System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)

public:
virtual void GetObjectData(
	SerializationInfo^ info,
	StreamingContext context
) override

Parameters

info
Type: System.Runtime.Serialization::SerializationInfo^

A SerializationInfo that contains the serialized object data about the WorkflowMarkupSerializationException being thrown.

context
Type: System.Runtime.Serialization::StreamingContext

A StreamingContext that contains the context information about the source or destination of the bits the serializer was using.

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

.NET Framework
Available since 3.0
Return to top
Show: