Partager via


ManagementBaseObject.ISerializable.GetObjectData Méthode

Définition

Implémente l'interface ISerializable et retourne les données requises pour sérialiser ManagementBaseObject.

 virtual void System.Runtime.Serialization.ISerializable.GetObjectData(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context) = System::Runtime::Serialization::ISerializable::GetObjectData;
void ISerializable.GetObjectData (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
abstract member System.Runtime.Serialization.ISerializable.GetObjectData : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> unit
override this.System.Runtime.Serialization.ISerializable.GetObjectData : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> unit
Sub GetObjectData (info As SerializationInfo, context As StreamingContext) Implements ISerializable.GetObjectData

Paramètres

info
SerializationInfo

SerializationInfo contenant les informations requises pour sérialiser ManagementBaseObject.

context
StreamingContext

Objet StreamingContext contenant la source et la destination du flux sérialisé associé à ManagementBaseObject.

Implémente

Exceptions

info a la valeur null.

S’applique à