WorkflowMarkupSerializationException.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 specified SerializationInfo with information about the WorkflowMarkupSerializationException.

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

override GetObjectData : 
        info:SerializationInfo *
        context:StreamingContext -> unit


Type: System.Runtime.Serialization.SerializationInfo

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

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