System.Runtime.Remoting.Activation.IConstructionCallMessage.Activator Property

Gets or sets the activator that activates the remote object.

Syntax

public IActivator Activator { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

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.

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