System.Runtime.Remoting.Contexts.IContributeObjectSink Interface

Assembly: Mscorlib.dll
Namespace: System.Runtime.Remoting.Contexts
This type supports the Shared Source CLI infrastructure and is not intended to be used directly from your code.
Summary
Contributes an object specific interception sink on the server end of a remoting call.
C# Syntax:
public interface IContributeObjectSink
Remarks
The IContributeObjectSink interface is implemented by context properties in a Context that want to contribute an object specific interception sink on the server end of a remoting call.

The server object chain is composed from those context properties in the server object's context that implement IContributeObjectSink interface. the conceptual topic at MSDN: just-in-timeactivation is an example of such a property, that is the message sink would activate the object after the call arrives and then pass the message on to the object.

See also:
System.Runtime.Remoting.Contexts Namespace

System.Runtime.Remoting.Contexts.IContributeObjectSink Member List:

Public Methods
GetObjectSink Chains the message sink of the provided server object in front of the given sink chain.

System.Runtime.Remoting.Contexts.IContributeObjectSink Member Details

Method: GetObjectSink(
   MarshalByRefObject obj,
   IMessageSink nextSink
)
Summary
Chains the message sink of the provided server object in front of the given sink chain.
This type supports the Shared Source CLI infrastructure and is not intended to be used directly from your code.
C# Syntax:
IMessageSink GetObjectSink(
   MarshalByRefObject obj,
   IMessageSink nextSink
);
Parameters:

obj

The server object which provides the message sink that is to be chained in front of the given chain.

nextSink

The chain of sinks composed so far.

Return Value:
The composite sink chain.

Return to top


Top of page

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