ContextAttribute.GetPropertiesForNewContext(IConstructionCallMessage) Methode

Definitie

Hiermee voegt u de huidige contexteigenschap toe aan het opgegeven bericht.

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

public:
 virtual void GetPropertiesForNewContext(System::Runtime::Remoting::Activation::IConstructionCallMessage ^ ctorMsg);
public virtual void GetPropertiesForNewContext(System.Runtime.Remoting.Activation.IConstructionCallMessage ctorMsg);
[System.Security.SecurityCritical]
public virtual void GetPropertiesForNewContext(System.Runtime.Remoting.Activation.IConstructionCallMessage ctorMsg);
abstract member GetPropertiesForNewContext : System.Runtime.Remoting.Activation.IConstructionCallMessage -> unit
override this.GetPropertiesForNewContext : System.Runtime.Remoting.Activation.IConstructionCallMessage -> unit
[<System.Security.SecurityCritical>]
abstract member GetPropertiesForNewContext : System.Runtime.Remoting.Activation.IConstructionCallMessage -> unit
override this.GetPropertiesForNewContext : System.Runtime.Remoting.Activation.IConstructionCallMessage -> unit
Public Overridable Sub GetPropertiesForNewContext (ctorMsg As IConstructionCallMessage)

Parameters

ctorMsg
IConstructionCallMessage

De IConstructionCallMessage eigenschap waaraan u de contexteigenschap wilt toevoegen.

Implementeringen

Kenmerken

Uitzonderingen

De ctorMsg parameter is null.

Opmerkingen

De ContextAttribute klasse is een implementatie van een IContextProperty eigenschap. De GetPropertiesForNewContext methode voegt de eigenschap toe aan de opgegeven IConstructionCallMessage klasse, zodat het nieuwe object kan worden gemaakt in de vereiste contextomgeving wanneer het bericht wordt ontvangen.

Van toepassing op