SurrogateSelector.RemoveSurrogate(Type, StreamingContext) Método

Definição

Remove do substituto associado com um determinado tipo.Removes the surrogate associated with a given type.

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)

Parâmetros

type
Type

O Type do qual o substituto será removido.The Type for which to remove the surrogate.

context
StreamingContext

O StreamingContext do substituto atual.The StreamingContext for the current surrogate.

Exceções

O parâmetro type é null.The type parameter is null.

Comentários

Esse método não verifica os substitutos encadeados.This method does not check chained surrogates.

Aplica-se a