WorkflowOwnershipException::GetObjectData Method (SerializationInfo^, StreamingContext)
.NET Framework (current version)
Sets the SerializationInfo object with the Guid of the workflow instance associated with this exception, and additional exception information.
Assembly: System.Workflow.Runtime (in System.Workflow.Runtime.dll)
public: [SecurityPermissionAttribute(SecurityAction::Demand, SerializationFormatter = true)] virtual void GetObjectData( SerializationInfo^ info, StreamingContext context ) override
Parameters
- info
-
Type:
System.Runtime.Serialization::SerializationInfo^
A SerializationInfo that holds the serialized object data about the exception being thrown.
- context
-
Type:
System.Runtime.Serialization::StreamingContext
A StreamingContext that contains contextual information about the source or destination.
| Exception | Condition |
|---|---|
| ArgumentNullException | 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
Available since 3.0
Show: