指定した型に関連付けられているサロゲートを削除します。
Public Overridable Sub RemoveSurrogate( _
ByVal type As Type, _ ByVal context As StreamingContext _)
[C#]
public virtual void RemoveSurrogate(Typetype,StreamingContextcontext);
[C++]
public: virtual void RemoveSurrogate(Type* type,StreamingContextcontext);
[JScript]
public function RemoveSurrogate(
type : Type,context : StreamingContext);
パラメータ
- type
サロゲートを削除する対象の Type 。 - context
現在のサロゲートの StreamingContext 。
例外
例外の種類 | 条件 |
---|---|
ArgumentNullException | type パラメータが null 参照 (Visual Basic では Nothing) です。 |
解説
このメソッドはチェインされたサロゲートを確認しません。
必要条件
プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ
参照
SurrogateSelector クラス | SurrogateSelector メンバ | System.Runtime.Serialization 名前空間