Export (0) Print
Expand All

ManagementException.GetObjectData Method

Populates the SerializationInfo object with the data needed to serialize the ManagementException object.

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

Parameters

info
The SerializationInfo to populate with data.
context
The destination (see StreamingContext) for this serialization.

Implements

ISerializable.GetObjectData

Requirements

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

.NET Framework Security: 

See Also

ManagementException Class | ManagementException Members | System.Management Namespace

Show:
© 2014 Microsoft