次の方法で共有


UrlAttribute.GetPropertiesForNewContext メソッド

指定した 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);

パラメータ

実装

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 セキュリティ:

参照

UrlAttribute クラス | UrlAttribute メンバ | System.Runtime.Remoting.Activation 名前空間