ContextAttribute.GetPropertiesForNewContext(IConstructionCallMessage) Metoda

Definice

Přidá aktuální vlastnost kontextu do dané zprávy.

Toto rozhraní API podporuje produktovou infrastrukturu a není určené k použití přímo z uživatelského kódu.

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)

Parametry

ctorMsg
IConstructionCallMessage

Do IConstructionCallMessage které se má přidat kontextová vlastnost.

Implementuje

Atributy

Výjimky

Parametr ctorMsg je null.

Poznámky

Třída ContextAttribute je implementace IContextProperty vlastnosti. Metoda GetPropertiesForNewContext přidá vlastnost do dané IConstructionCallMessage třídy, takže při přijetí zprávy lze nový objekt vytvořit v požadovaném kontextovém prostředí.

Platí pro