System.Runtime.Remoting.Activation.UrlAttribute.GetPropertiesForNewContext Method

Forces the creation of the context and the server object inside the context at the specified URL.

Syntax

[System.Runtime.InteropServices.ComVisible(true)]
public override void GetPropertiesForNewContext (IConstructionCallMessage ctorMsg)

Parameters

ctorMsg
The System.Runtime.Remoting.Activation.IConstructionCallMessage of the server object to create.

Remarks

UrlAttribute.GetPropertiesForNewContext(IConstructionCallMessage) 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.

Requirements

Namespace: System.Runtime.Remoting.Activation
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0