UrlAttribute.GetPropertiesForNewContext(IConstructionCallMessage) Method

Definition

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

C#
public override void GetPropertiesForNewContext(System.Runtime.Remoting.Activation.IConstructionCallMessage ctorMsg);
C#
[System.Runtime.InteropServices.ComVisible(true)]
public override void GetPropertiesForNewContext(System.Runtime.Remoting.Activation.IConstructionCallMessage ctorMsg);
C#
[System.Runtime.InteropServices.ComVisible(true)]
[System.Security.SecurityCritical]
public override void GetPropertiesForNewContext(System.Runtime.Remoting.Activation.IConstructionCallMessage ctorMsg);

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

Product Versions
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1