SurrogateSelector::RemoveSurrogate Method (Type^, StreamingContext)
.NET Framework (current version)
Removes the surrogate associated with a given type.
Assembly: mscorlib (in mscorlib.dll)
Parameters
- type
-
Type:
System::Type^
The Type for which to remove the surrogate.
- context
-
Type:
System.Runtime.Serialization::StreamingContext
The StreamingContext for the current surrogate.
| Exception | Condition |
|---|---|
| ArgumentNullException | The type parameter is null. |
This method does not check chained surrogates.
.NET Framework
Available since 1.1
Available since 1.1
Show: