UrlAttribute.GetPropertiesForNewContext(IConstructionCallMessage) Metoda
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Wymusza utworzenie kontekstu i obiektu serwera wewnątrz kontekstu w określonym adresie 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
Obiekt IConstructionCallMessage serwera do utworzenia.
- Atrybuty
Wyjątki
Bezpośredni obiekt wywołujący nie ma uprawnień do infrastruktury.
Uwagi
GetPropertiesForNewContext nie współtworzy żadnych właściwości nowego kontekstu, ponieważ jest on używany przez infrastrukturę komunikacji sieciowej, aby wymusić utworzenie kontekstu i obiektu serwera wewnątrz kontekstu pod określonym adresem URL.