UrlAttribute.GetPropertiesForNewContext(IConstructionCallMessage) Método

Definición

Fuerza la creación del contexto y del objeto del servidor incluido en el contexto en la dirección 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

IConstructionCallMessage del objeto del servidor que se va a crear.The IConstructionCallMessage of the server object to create.

Atributos

Excepciones

El llamador inmediato no tiene permisos de infraestructura.The immediate caller does not have infrastructure permission.

Comentarios

GetPropertiesForNewContext no aporta ninguna propiedad al nuevo contexto porque la infraestructura de comunicación remota la usa para forzar la creación del contexto y el objeto de servidor dentro del contexto en la dirección 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.

Se aplica a