UrlAttribute.GetPropertiesForNewContext(IConstructionCallMessage) Método
Definição
Força a criação do contexto e do objeto de servidor dentro do contexto na URL especificada.Forces the creation of the context and the server object inside the context at the specified 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)
Parâmetros
- ctorMsg
- IConstructionCallMessage
O IConstructionCallMessage do objeto de servidor a ser criado.The IConstructionCallMessage of the server object to create.
- Atributos
Exceções
O chamador imediato não tem permissão de infraestrutura.The immediate caller does not have infrastructure permission.
Comentários
GetPropertiesForNewContext o não contribui com nenhuma propriedade para o novo contexto porque ela é usada pela infraestrutura de comunicação remota para forçar a criação do contexto e o objeto de servidor dentro do contexto na URL especificada.GetPropertiesForNewContext does not contribute any properties to the new context because it is used by the remoting infrastructure to force the creation of the context and the server object inside the context at the specified URL.