ManagementBaseObject(SerializationInfo, StreamingContext) Constructor

Definitie

Let op

This API supports obsolete formatter-based serialization. It should not be called or extended by application code.

Initialiseert een nieuw exemplaar van de ManagementBaseObject klasse die serialiseerbaar is.

protected:
 ManagementBaseObject(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
[System.Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
protected ManagementBaseObject(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
protected ManagementBaseObject(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
[<System.Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
new System.Management.ManagementBaseObject : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Management.ManagementBaseObject
new System.Management.ManagementBaseObject : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Management.ManagementBaseObject
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

info
SerializationInfo

De SerializationInfo te vullen met gegevens.

context
StreamingContext

De bestemming (zie StreamingContext ) voor deze serialisatie.

Kenmerken

Opmerkingen

.NET Framework-beveiliging

Volledig vertrouwen voor de directe beller. Dit lid kan niet worden gebruikt door gedeeltelijk vertrouwde code. Zie Bibliotheken van gedeeltelijk vertrouwde code gebruiken voor meer informatie.

Van toepassing op