ParameterInfo.GetRealObject(StreamingContext) Método

Definição

Cuidado

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

Retorna o objeto real que deve ser desserializado, em vez do objeto especificado pelo fluxo serializado.

public:
 virtual System::Object ^ GetRealObject(System::Runtime::Serialization::StreamingContext context);
public object GetRealObject (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}")]
public object GetRealObject (System.Runtime.Serialization.StreamingContext context);
[System.Security.SecurityCritical]
public object GetRealObject (System.Runtime.Serialization.StreamingContext context);
abstract member GetRealObject : System.Runtime.Serialization.StreamingContext -> obj
override this.GetRealObject : System.Runtime.Serialization.StreamingContext -> obj
[<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}")>]
abstract member GetRealObject : System.Runtime.Serialization.StreamingContext -> obj
override this.GetRealObject : System.Runtime.Serialization.StreamingContext -> obj
[<System.Security.SecurityCritical>]
abstract member GetRealObject : System.Runtime.Serialization.StreamingContext -> obj
override this.GetRealObject : System.Runtime.Serialization.StreamingContext -> obj
Public Function GetRealObject (context As StreamingContext) As Object

Parâmetros

context
StreamingContext

O fluxo serializado do qual o objeto atual é desserializado.

Retornos

O objeto real que é colocado no grafo.

Implementações

Atributos

Exceções

A posição do parâmetro na lista de parâmetros de seu membro associado não é válida para o tipo desse membro.

Comentários

Este método implementa o método IObjectReference.GetRealObject.

Aplica-se a