指定した URL で、コンテキストと、そのコンテキスト内のサーバー オブジェクトの作成を強制します。
Overrides Public Sub GetPropertiesForNewContext( _
ByVal ctorMsg As IConstructionCallMessage _) Implements IContextAttribute.GetPropertiesForNewContext
[C#]
public override void GetPropertiesForNewContext(IConstructionCallMessagectorMsg);
[C++]
public: void GetPropertiesForNewContext(IConstructionCallMessage* ctorMsg);
[JScript]
public override function GetPropertiesForNewContext(
ctorMsg : IConstructionCallMessage);
パラメータ
- ctorMsg
作成するサーバー オブジェクトの IConstructionCallMessage 。
実装
IContextAttribute.GetPropertiesForNewContext
例外
例外の種類 | 条件 |
---|---|
SecurityException | 直前の呼び出し元に、インフラストラクチャ アクセス許可がありません。 |
解説
GetPropertiesForNewContext は、新しいコンテキストにプロパティを提供しません。これは、指定した URL で、コンテキストと、そのコンテキスト内のサーバー オブジェクトの作成を強制するために、リモート処理インフラストラクチャによって使用されるためです。
必要条件
プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ
.NET Framework セキュリティ:
- SecurityPermission (インフラストラクチャ コードを操作するために必要なアクセス許可) SecurityPermissionFlag.Infrastructure (関連する列挙体)
参照
UrlAttribute クラス | UrlAttribute メンバ | System.Runtime.Remoting.Activation 名前空間