System.Runtime.Remoting.Contexts.IContributeServerContextSink 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 interception sink at the context boundary on the server end of a remoting call.
C# Syntax:
public interface IContributeServerContextSink
Remarks
The IContributeServerContextSink interface is implemented by context properties in a Context that want to contribute an interception sink at the context boundary on the server end of a remoting call.

The Server Context Chain is composed from those properties in the server context that implement the IContributeServerContextSink interface and which contribute a sink by using the IContributeServerContextSink.GetServerContextSink method call. Serialization is an example of such a context property, that is in this case the message sink would involve taking a synchronization primitive lock before processing a call further.

See also:
System.Runtime.Remoting.Contexts Namespace

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

Public Methods
GetServerContextSink Takes the first sink in the chain of sinks composed so far, chains its message sink in front of the chain formed.

System.Runtime.Remoting.Contexts.IContributeServerContextSink Member Details

Method: GetServerContextSink(
   IMessageSink nextSink
)
Summary
Takes the first sink in the chain of sinks composed so far, chains its message sink in front of the chain formed.
This type supports the Shared Source CLI infrastructure and is not intended to be used directly from your code.
C# Syntax:
IMessageSink GetServerContextSink(
   IMessageSink nextSink
);
Parameters:

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.