Export (0) Print
Expand All

IConstructionCallMessage.Activator Property

Gets or sets the activator that activates the remote object.

Namespace: System.Runtime.Remoting.Activation
Assembly: mscorlib (in mscorlib.dll)

IActivator Activator { get; set; }
/** @property */
IActivator get_Activator ()

/** @property */
void set_Activator (IActivator value)

function get Activator () : IActivator

function set Activator (value : IActivator)

Not applicable.

Property Value

The activator that activates the remote object.

Exception typeCondition

SecurityException

The immediate caller does not have infrastructure permission.

A chain of activators that are arranged in a hierarchy typically completes the various tasks that are involved in the activation process. If you intend to plug in a custom activator, then you should traverse the activator hierarchy and plug in your activator at the appropriate location. Use the IActivator.NextActivator property on the activator that is returned by the current property to traverse the chain of activators.

If you add your own activator into the message's activator chain on the client side, the activator may be serialized and transported to the server side, if deemed necessary. For this reason, custom activators should be fairly lightweight in terms of serialization requirements.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0

Community Additions

ADD
Show:
© 2014 Microsoft