GetObjectData Method
Collapse the table of content
Expand the table of content

ManagementException.GetObjectData Method (SerializationInfo, StreamingContext)


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

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

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


Type: System.Runtime.Serialization.SerializationInfo

The SerializationInfo to populate with data.

Type: System.Runtime.Serialization.StreamingContext

The StreamingContext destination for this serialization.

Full trust for the immediate caller. This member cannot be used by partially-trusted code. For more information, see Using Libraries from Partially Trusted Code.

.NET Framework
Available since 1.1
Return to top
© 2016 Microsoft