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)

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

Parameters

info
Type: System.Runtime.Serialization::SerializationInfo^

The SerializationInfo to populate with data.

context
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
Show: