ManagementClass.GetObjectData(SerializationInfo, StreamingContext) Método

Definição

Preenche uma SerializationInfo com os dados necessários para desserializar o campo representado por esta instância.Populates a SerializationInfo with the data necessary to deserialize the field represented by this instance.

protected:
 override void GetObjectData(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected override void GetObjectData (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
override this.GetObjectData : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> unit
Protected Overrides Sub GetObjectData (info As SerializationInfo, context As StreamingContext)

Parâmetros

info
SerializationInfo

O objeto a ser populado com informações de serialização.The object to be populated with serialization information.

context
StreamingContext

O local em que os dados serializados serão armazenados e recuperados.The location where serialized data will be stored and retrieved.

Comentários

Segurança do .NET Framework.NET Framework Security

Confiança total para o chamador imediato.Full trust for the immediate caller. Este membro não pode ser usado pelo código parcialmente confiável.This member cannot be used by partially trusted code. Para obter mais informações, consulte usando bibliotecas de código parcialmente confiável.For more information, see Using Libraries from Partially Trusted Code.

Aplica-se a