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

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: