Rediger

Del via


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);
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);
abstract member GetClientContextSink : System.Runtime.Remoting.Messaging.IMessageSink -> System.Runtime.Remoting.Messaging.IMessageSink
override this.GetClientContextSink : System.Runtime.Remoting.Messaging.IMessageSink -> System.Runtime.Remoting.Messaging.IMessageSink
[<System.Security.SecurityCritical>]
abstract member GetClientContextSink : System.Runtime.Remoting.Messaging.IMessageSink -> System.Runtime.Remoting.Messaging.IMessageSink
override this.GetClientContextSink : System.Runtime.Remoting.Messaging.IMessageSink -> System.Runtime.Remoting.Messaging.IMessageSink
Public Overridable Function GetClientContextSink (nextSink As IMessageSink) As IMessageSink

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