GetObjectData Method
From Task Parallel System.Threading
|
|
| .NET Framework Class Library |
| AggregateException..::.GetObjectData Method |
| AggregateException Class See Also Send Feedback |
Sets the SerializationInfo with information about
the exception.
Namespace:
System
Assembly:
System.Threading (in System.Threading.dll)
Syntax
| Visual Basic (Declaration) |
|---|
Public Overrides Sub GetObjectData ( _ info As SerializationInfo, _ context As StreamingContext _ ) |
| C# |
|---|
public override void GetObjectData( SerializationInfo info, StreamingContext context ) |
Parameters
- info
- Type: System.Runtime.Serialization..::.SerializationInfo
The SerializationInfo that holds the serialized object data about the exception being thrown.
- context
- Type: System.Runtime.Serialization..::.StreamingContext
The StreamingContext that contains contextual information about the source or destination.
Implements
ISerializable..::.GetObjectData(SerializationInfo, StreamingContext)_Exception..::.GetObjectData(SerializationInfo, StreamingContext)
Exceptions
| Exception | Condition |
|---|---|
| System..::.ArgumentNullException | The info argument is null. |