SurrogateSelector.RemoveSurrogate(Type, StreamingContext) Metoda

Definicja

Usuwa surogat skojarzony 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ąć surogat.

context
StreamingContext

Wartość StreamingContext dla bieżącego zastępcy.

Wyjątki

Parametr type ma wartość null.

Uwagi

Ta metoda nie sprawdza łańcuchowych zastępczych.

Dotyczy