UrlAttribute.GetPropertiesForNewContext(IConstructionCallMessage) Metoda

Definice

Vynutí vytvoření kontextu a objektu serveru uvnitř kontextu na zadané adrese URL.

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)

Parametry

ctorMsg
IConstructionCallMessage

Objekt IConstructionCallMessage serveru, který se má vytvořit.

Atributy

Výjimky

Bezprostřední volající nemá oprávnění k infrastruktuře.

Poznámky

GetPropertiesForNewContext nepřispívá k novému kontextu žádné vlastnosti, protože ho používá infrastruktura vzdálené komunikace k vynucení vytvoření kontextu a objektu serveru uvnitř kontextu na zadané adrese URL.

Platí pro