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 Overrides Sub GetObjectData (
	info As SerializationInfo,
	context As StreamingContext
)

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: