SynchronizationAttribute.GetClientContextSink(IMessageSink) Method

Definition

Creates a CallOut sink and chains it in front of the provided chain of sinks at the context boundary on the client end of a remoting call.

public virtual System.Runtime.Remoting.Messaging.IMessageSink GetClientContextSink (System.Runtime.Remoting.Messaging.IMessageSink nextSink);
[System.Security.SecurityCritical]
public virtual System.Runtime.Remoting.Messaging.IMessageSink GetClientContextSink (System.Runtime.Remoting.Messaging.IMessageSink nextSink);

Parameters

nextSink
IMessageSink

The chain of sinks composed so far.

Returns

The composite sink chain with the new CallOut sink.

Implements

Attributes

Remarks

The current method is an implementation of IContributeClientContextSink.GetClientContextSink.

Applies to

Product Versions
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1