ParameterInfo.GetRealObject(StreamingContext) Methode

Definitie

Let op

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

Retourneert het echte object dat moet worden gedeserialiseerd in plaats van het object dat door de geserialiseerde stroom wordt opgegeven.

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

Parameters

context
StreamingContext

De geserialiseerde stroom waaruit het huidige object wordt gedeserialiseerd.

Retouren

Het werkelijke object dat in de grafiek wordt geplaatst.

Implementeringen

Kenmerken

Uitzonderingen

De positie van de parameter in de parameterlijst van het bijbehorende lid is niet geldig voor het type van dat lid.

Opmerkingen

Met deze methode wordt de IObjectReference.GetRealObject methode geïmplementeerd.

Van toepassing op