CallContext.FreeNamedDataSlot メソッド
指定した名前のデータ スロットを空にします。
Public Shared Sub FreeNamedDataSlot( _
ByVal name As String _)
[C#]
public static void FreeNamedDataSlot(stringname);
[C++]
public: static void FreeNamedDataSlot(String* name);
[JScript]
public static function FreeNamedDataSlot(
name : String);
パラメータ
- name
空にするデータ スロットの名前。
例外
例外の種類 | 条件 |
---|---|
SecurityException | 直前の呼び出し元に、インフラストラクチャ アクセス許可がありません。 |
必要条件
プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ
.NET Framework セキュリティ:
- SecurityPermission (インフラストラクチャ コードを操作するために必要なアクセス許可)要求値: SecurityAction.LinkDemand; アクセス許可値: SecurityPermissionFlag.Infrastructure
参照
CallContext クラス | CallContext メンバ | System.Runtime.Remoting.Messaging 名前空間