IContextPropertyActivator IContextPropertyActivator IContextPropertyActivator IContextPropertyActivator Interface

Definition

Indicates that the implementing property is interested in participating in activation and might not have provided a message sink.

This API supports the product infrastructure and is not intended to be used directly from your code.

public interface class IContextPropertyActivator
[System.Runtime.InteropServices.ComVisible(true)]
public interface IContextPropertyActivator
type IContextPropertyActivator = interface
Public Interface IContextPropertyActivator
Attributes

Remarks

The IContextPropertyActivator interface is exposed on all Context properties that are interested in participating in activation and that might have not provided a message sink. Client Context properties send information in the construction message that their counterparts at the remote site could look for during activation.

IContextPropertyActivator is also used to collect information from the client and server context property and to deliver information from the server context properties to the client context properties when returning to the client Context.

Methods

CollectFromClientContext(IConstructionCallMessage) CollectFromClientContext(IConstructionCallMessage) CollectFromClientContext(IConstructionCallMessage) CollectFromClientContext(IConstructionCallMessage)

Called on each client context property that has this interface, before the construction request leaves the client.

CollectFromServerContext(IConstructionReturnMessage) CollectFromServerContext(IConstructionReturnMessage) CollectFromServerContext(IConstructionReturnMessage) CollectFromServerContext(IConstructionReturnMessage)

Called on each server context property that has this interface, before the construction response leaves the server for the client.

DeliverClientContextToServerContext(IConstructionCallMessage) DeliverClientContextToServerContext(IConstructionCallMessage) DeliverClientContextToServerContext(IConstructionCallMessage) DeliverClientContextToServerContext(IConstructionCallMessage)

Called on each client context property that has this interface, when the construction request returns to the client from the server.

DeliverServerContextToClientContext(IConstructionReturnMessage) DeliverServerContextToClientContext(IConstructionReturnMessage) DeliverServerContextToClientContext(IConstructionReturnMessage) DeliverServerContextToClientContext(IConstructionReturnMessage)

Called on each client context property that has this interface, when the construction request returns to the client from the server.

IsOKToActivate(IConstructionCallMessage) IsOKToActivate(IConstructionCallMessage) IsOKToActivate(IConstructionCallMessage) IsOKToActivate(IConstructionCallMessage)

Indicates whether it is all right to activate the object type indicated in the msg parameter.

Applies to