ComposablePartException::GetObjectData Method (SerializationInfo^, StreamingContext)
.NET Framework (current version)
Gets the serialization data for the exception.
Assembly: System.ComponentModel.Composition (in System.ComponentModel.Composition.dll)
public: [SecurityCriticalAttribute] virtual void GetObjectData( SerializationInfo^ info, StreamingContext context ) override
Parameters
- info
-
Type:
System.Runtime.Serialization::SerializationInfo^
After calling the method, contains serialized object data about the ComposablePartException.
- context
-
Type:
System.Runtime.Serialization::StreamingContext
After calling the method, contains contextual information about the source or destination.
| Exception | Condition |
|---|---|
| ArgumentNullException | info is null. |
.NET Framework
Available since 4.0
Available since 4.0
Show: