UrlAttribute.GetPropertiesForNewContext(IConstructionCallMessage) Metod
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Tvingar fram skapandet av kontexten och serverobjektet i kontexten vid den angivna URL:en.
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)
Parametrar
- ctorMsg
- IConstructionCallMessage
Serverobjektet IConstructionCallMessage som ska skapas.
- Attribut
Undantag
Den omedelbara anroparen har inte infrastrukturbehörighet.
Kommentarer
GetPropertiesForNewContext bidrar inte med några egenskaper till den nya kontexten eftersom den används av fjärrkommunikationsinfrastrukturen för att tvinga skapandet av kontexten och serverobjektet i kontexten på den angivna URL:en.