Export (0) Print
Expand All

AssemblyName.GetObjectData Method

Gets serialization information with all of the data needed to recreate an instance of this AssemblyName.

[Visual Basic]
Public Overridable Sub GetObjectData( _
   ByVal info As SerializationInfo, _
   ByVal context As StreamingContext _
) Implements ISerializable.GetObjectData
[C#]
public virtual void GetObjectData(
 SerializationInfo info,
 StreamingContext context
);
[C++]
public: virtual void GetObjectData(
 SerializationInfo* info,
 StreamingContext context
);
[JScript]
public function GetObjectData(
   info : SerializationInfo,
 context : StreamingContext
);

Parameters

info
The object to be populated with serialization information.
context
The destination context of the serialization.

Implements

ISerializable.GetObjectData

Exceptions

Exception Type Condition
ArgumentNullException info is a null reference (Nothing in Visual Basic).

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

AssemblyName Class | AssemblyName Members | System.Reflection Namespace

Show:
© 2015 Microsoft