ContextAttribute.GetPropertiesForNewContext(IConstructionCallMessage) Methode

Definition

Fügt die aktuelle Kontexteigenschaft zur angegebenen Meldung hinzu.

Diese API unterstützt die Produktinfrastruktur und ist nicht für die direkte Verwendung aus Ihrem Code gedacht.

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)

Parameter

ctorMsg
IConstructionCallMessage

Die IConstructionCallMessage, der die Kontexteigenschaft hinzugefügt werden soll.

Implementiert

Attribute

Ausnahmen

Der ctorMsg-Parameter ist null.

Hinweise

Die ContextAttribute -Klasse ist eine Implementierung einer IContextProperty Eigenschaft. Die GetPropertiesForNewContext -Methode fügt die -Eigenschaft der angegebenen IConstructionCallMessage Klasse hinzu, damit das neue Objekt beim Empfang der Nachricht in der erforderlichen Kontextumgebung erstellt werden kann.

Gilt für: