Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
GetObjectData Method
Collapse the table of content
Expand the table of content

WorkflowMarkupSerializationException.GetObjectData Method

Sets the specified SerializationInfo with information about the WorkflowMarkupSerializationException.

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

'Declaration
Public Overrides Sub GetObjectData ( _
	info As SerializationInfo, _
	context As StreamingContext _
)

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.

Implements

ISerializable.GetObjectData(SerializationInfo, StreamingContext)
_Exception.GetObjectData(SerializationInfo, StreamingContext)

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0
Show:
© 2015 Microsoft