SurrogateSelector.RemoveSurrogate(Type, StreamingContext) Metoda

Definicja

Usuwa zastępcę skojarzonego z danym typem.

public:
 virtual void RemoveSurrogate(Type ^ type, System::Runtime::Serialization::StreamingContext context);
public virtual void RemoveSurrogate (Type type, System.Runtime.Serialization.StreamingContext context);
abstract member RemoveSurrogate : Type * System.Runtime.Serialization.StreamingContext -> unit
override this.RemoveSurrogate : Type * System.Runtime.Serialization.StreamingContext -> unit
Public Overridable Sub RemoveSurrogate (type As Type, context As StreamingContext)

Parametry

type
Type

Element Type , dla którego należy usunąć zastępcę.

context
StreamingContext

Element StreamingContext dla bieżącego zastępcy.

Wyjątki

Parametr type to null.

Uwagi

Ta metoda nie sprawdza łańcuchowych zastępców.

Dotyczy