ManagementClass Constructor (SerializationInfo, StreamingContext)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Initializes a new instance of the ManagementClass class from the specified instances of the SerializationInfo and StreamingContext classes.

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

protected ManagementClass(
	SerializationInfo info,
	StreamingContext context


Type: System.Runtime.Serialization.SerializationInfo

An instance of the SerializationInfo class containing the information required to serialize the new ManagementClass.

Type: System.Runtime.Serialization.StreamingContext

An instance of the StreamingContext class containing the source of the serialized stream associated with the new ManagementClass.

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 2.0
Return to top