Bewerken

Delen via


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
public interface IContextPropertyActivator
[System.Runtime.InteropServices.ComVisible(true)]
public interface IContextPropertyActivator
type IContextPropertyActivator = interface
[<System.Runtime.InteropServices.ComVisible(true)>]
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)

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

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

CollectFromServerContext(IConstructionReturnMessage)

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

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

DeliverClientContextToServerContext(IConstructionCallMessage)

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

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

DeliverServerContextToClientContext(IConstructionReturnMessage)

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

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

IsOKToActivate(IConstructionCallMessage)

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

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

Applies to