Context.SetProperty(IContextProperty) メソッド

定義

特定のコンテキスト プロパティを名前で設定します。

この API は製品インフラストラクチャをサポートします。コードから直接使用するものではありません。

public:
 virtual void SetProperty(System::Runtime::Remoting::Contexts::IContextProperty ^ prop);
public virtual void SetProperty(System.Runtime.Remoting.Contexts.IContextProperty prop);
[System.Security.SecurityCritical]
public virtual void SetProperty(System.Runtime.Remoting.Contexts.IContextProperty prop);
abstract member SetProperty : System.Runtime.Remoting.Contexts.IContextProperty -> unit
override this.SetProperty : System.Runtime.Remoting.Contexts.IContextProperty -> unit
[<System.Security.SecurityCritical>]
abstract member SetProperty : System.Runtime.Remoting.Contexts.IContextProperty -> unit
override this.SetProperty : System.Runtime.Remoting.Contexts.IContextProperty -> unit
Public Overridable Sub SetProperty (prop As IContextProperty)

パラメーター

prop
IContextProperty

実際のコンテキスト プロパティ。

属性

例外

コンテキストは固定されています。

プロパティまたはプロパティ名が null

注釈

既定のコンテキストにプロパティを追加することはできません。

適用対象