Context.SetProperty(IContextProperty) Methode

Definitie

Hiermee stelt u een specifieke contexteigenschap op naam in.

Deze API ondersteunt de productinfrastructuur en is niet bedoeld om rechtstreeks vanuit de code te gebruiken.

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)

Parameters

prop
IContextProperty

De werkelijke contexteigenschap.

Kenmerken

Uitzonderingen

De context is geblokkeerd.

De eigenschap of de naam van de eigenschap is null.

Opmerkingen

Het toevoegen van eigenschappen aan de standaardcontext is niet toegestaan.

Van toepassing op