Επεξεργασία

Κοινή χρήση μέσω


UrlAttribute.GetPropertiesForNewContext(IConstructionCallMessage) Method

Definition

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)

Parameters

ctorMsg
IConstructionCallMessage

The IConstructionCallMessage of the server object to create.

Attributes

Exceptions

The immediate caller does not have infrastructure permission.

Remarks

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.

Applies to