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.

Win32Exception::GetObjectData Method (SerializationInfo^, StreamingContext)

 

Sets the SerializationInfo object with the file name and line number at which this Win32Exception occurred.

Namespace:   System.ComponentModel
Assembly:  System (in System.dll)

public:
[SecurityPermissionAttribute(SecurityAction::Demand, SerializationFormatter = true)]
virtual void GetObjectData(
	SerializationInfo^ info,
	StreamingContext context
) override

Parameters

info
Type: System.Runtime.Serialization::SerializationInfo^

A SerializationInfo.

context
Type: System.Runtime.Serialization::StreamingContext

The contextual information about the source or destination.

Exception Condition
ArgumentNullException

info is null.

.NET Framework
Available since 1.1
Return to top
Show:
© 2017 Microsoft