SurrogateSelector.RemoveSurrogate(Type, StreamingContext) Metod

Definition

Tar bort surrogaten som är associerad med en viss typ.

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)

Parametrar

type
Type

För Type vilken du ska ta bort surrogaten.

context
StreamingContext

För StreamingContext den aktuella surrogaten.

Undantag

Parametern type är null.

Kommentarer

Den här metoden kontrollerar inte länkade surrogater.

Gäller för