ParameterInfo.GetRealObject(StreamingContext) Metódus
Definíció
Fontos
Egyes információk olyan, kiadás előtti termékekre vonatkoznak, amelyek a kiadásig még jelentősen módosulhatnak. A Microsoft nem vállal kifejezett vagy törvényi garanciát az itt megjelenő információért.
Figyelemfelhívás
This API supports obsolete formatter-based serialization. It should not be called or extended by application code.
A szerializált stream által megadott objektum helyett a deszerializálandó valós objektumot adja vissza.
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
Paraméterek
- context
- StreamingContext
Az a szerializált stream, amelyből az aktuális objektum deszerializálva van.
Válaszok
A gráfba helyezett tényleges objektum.
Megvalósítás
- Attribútumok
Kivételek
A paraméter pozíciója a társított tag paraméterlistájában nem érvényes az adott tag típusára.
Megjegyzések
Ez a metódus implementálja a metódust IObjectReference.GetRealObject .