SynchronizationAttribute.GetServerContextSink(IMessageSink) SynchronizationAttribute.GetServerContextSink(IMessageSink) SynchronizationAttribute.GetServerContextSink(IMessageSink) SynchronizationAttribute.GetServerContextSink(IMessageSink) Method

定义

创建一个同步调度接收器,并将其链接到所提供的位于远程处理调用的服务器端的上下文边界处的接收器链的前面。Creates a synchronized dispatch sink and chains it in front of the provided chain of sinks at the context boundary on the server end of a remoting call.

public:
 virtual System::Runtime::Remoting::Messaging::IMessageSink ^ GetServerContextSink(System::Runtime::Remoting::Messaging::IMessageSink ^ nextSink);
[System.Security.SecurityCritical]
public virtual System.Runtime.Remoting.Messaging.IMessageSink GetServerContextSink (System.Runtime.Remoting.Messaging.IMessageSink nextSink);
abstract member GetServerContextSink : System.Runtime.Remoting.Messaging.IMessageSink -> System.Runtime.Remoting.Messaging.IMessageSink
override this.GetServerContextSink : System.Runtime.Remoting.Messaging.IMessageSink -> System.Runtime.Remoting.Messaging.IMessageSink
Public Overridable Function GetServerContextSink (nextSink As IMessageSink) As IMessageSink

参数

nextSink
IMessageSink IMessageSink IMessageSink IMessageSink

到目前为止组成的接收链。The chain of sinks composed so far.

返回

具有新的同步调度接收器的复合接收器链。The composite sink chain with the new synchronized dispatch sink.

实现

注解

当前方法是的IContributeServerContextSink.GetServerContextSink实现。The current method is an implementation of IContributeServerContextSink.GetServerContextSink.

适用于