ParameterInfo.GetRealObject(StreamingContext) Método

Definición

Precaución

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

Devuelve el objeto real que se debe deserializar en lugar del objeto especificado por la secuencia serializada.

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

Secuencia serializada desde la que se deserializa el objeto actual.

Devoluciones

Objeto real que se coloca en el gráfico.

Implementaciones

Atributos

Excepciones

La posición del parámetro en la lista de parámetros de su miembro asociado es no válida para ese tipo de miembro.

Comentarios

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

Se aplica a