WorkflowMarkupSerializationException.GetObjectData Method

Definition

Sets the specified SerializationInfo with information about the WorkflowMarkupSerializationException.

C#
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);

Parameters

info
SerializationInfo

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

context
StreamingContext

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

Remarks

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.

Applies to

Prodotto Versioni
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1