System.Runtime.Remoting.Activation.IActivator Interface

Assembly: Mscorlib.dll
Namespace: System.Runtime.Remoting.Activation
Summary
Provides the basic functionality for a Remoting activator class.
C# Syntax:
public interface IActivator
Remarks
Activators control and participate in the activation of marshal by reference objects. Some activators create contexts, whereas others create actual objects.

Note Activators use the IActivator.NextActivator property to form a hierarchy that must be observed.
See also:
System.Runtime.Remoting.Activation Namespace | Activator

System.Runtime.Remoting.Activation.IActivator Member List:

Public Properties
Level Read-only

Gets the ActivatorLevel where this activator is active.
NextActivator Read-write

Gets or sets the next activator in the chain.
Public Methods
Activate Creates an instance of the object specified in the provided IConstructionCallMessage.

System.Runtime.Remoting.Activation.IActivator Member Details

Property: Level (read-only)
Summary
Gets the ActivatorLevel where this activator is active.
C# Syntax:
ActivatorLevel Level {get;}
Remarks
The IActivator.Level is used to locate the right position in the chain when adding an Activator.

Return to top


Property: NextActivator (read-write)
Summary
Gets or sets the next activator in the chain.
C# Syntax:
IActivator NextActivator {get; set;}

Return to top


Method: Activate(
   IConstructionCallMessage msg
)
Summary
Creates an instance of the object specified in the provided IConstructionCallMessage.
C# Syntax:
IConstructionReturnMessage Activate(
   IConstructionCallMessage msg
);
Parameters:

msg

The information about the object needed to activate it, stored in an IConstructionCallMessage.

Return Value:
Status of the object activation contained in an IConstructionReturnMessage.

Return to top


Top of page

Copyright (c) 2002 Microsoft Corporation. All rights reserved.