AggregateException.GetObjectData(SerializationInfo, StreamingContext) AggregateException.GetObjectData(SerializationInfo, StreamingContext) AggregateException.GetObjectData(SerializationInfo, StreamingContext) AggregateException.GetObjectData(SerializationInfo, StreamingContext) Method

Definition

Initializes a new instance of the AggregateException class with serialized data.

public:
 override void GetObjectData(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
[System.Security.SecurityCritical]
public override void GetObjectData (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
override this.GetObjectData : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> unit
Public Overrides Sub GetObjectData (info As SerializationInfo, context As StreamingContext)

Parameters

info
SerializationInfo SerializationInfo SerializationInfo SerializationInfo

The object that holds the serialized object data.

context
StreamingContext StreamingContext StreamingContext StreamingContext

The contextual information about the source or destination.

Exceptions

Remarks

This constructor is called during deserialization to reconstitute the exception object transmitted over a stream. For more information, see XML and SOAP Serialization.

Applies to

See also