Share via


UrlAttribute.GetPropertiesForNewContext(IConstructionCallMessage) Méthode

Définition

Force la création du contexte et de l'objet serveur dans le contexte à l'URL spécifiée.

public:
 override void GetPropertiesForNewContext(System::Runtime::Remoting::Activation::IConstructionCallMessage ^ ctorMsg);
public override void GetPropertiesForNewContext (System.Runtime.Remoting.Activation.IConstructionCallMessage ctorMsg);
[System.Runtime.InteropServices.ComVisible(true)]
public override void GetPropertiesForNewContext (System.Runtime.Remoting.Activation.IConstructionCallMessage ctorMsg);
[System.Runtime.InteropServices.ComVisible(true)]
[System.Security.SecurityCritical]
public override void GetPropertiesForNewContext (System.Runtime.Remoting.Activation.IConstructionCallMessage ctorMsg);
override this.GetPropertiesForNewContext : System.Runtime.Remoting.Activation.IConstructionCallMessage -> unit
[<System.Runtime.InteropServices.ComVisible(true)>]
override this.GetPropertiesForNewContext : System.Runtime.Remoting.Activation.IConstructionCallMessage -> unit
[<System.Runtime.InteropServices.ComVisible(true)>]
[<System.Security.SecurityCritical>]
override this.GetPropertiesForNewContext : System.Runtime.Remoting.Activation.IConstructionCallMessage -> unit
Public Overrides Sub GetPropertiesForNewContext (ctorMsg As IConstructionCallMessage)

Paramètres

ctorMsg
IConstructionCallMessage

IConstructionCallMessage de l'objet serveur à créer.

Attributs

Exceptions

L'appelant immédiat n'a pas d'autorisation d'accès à l'infrastructure.

Remarques

GetPropertiesForNewContext ne contribue à aucune propriété au nouveau contexte, car il est utilisé par l’infrastructure de communication à distance pour forcer la création du contexte et de l’objet serveur à l’intérieur du contexte à l’URL spécifiée.

S’applique à