Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ComposablePartException::GetObjectData Method (SerializationInfo^, StreamingContext)

.NET Framework (current version)
 

Gets the serialization data for the exception.

Namespace:   System.ComponentModel.Composition.Primitives
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
Return to top
Show:
© 2017 Microsoft