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)

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

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: