共用方式為


SynchronizationAttribute.GetServerContextSink(IMessageSink) 方法

定義

建立同步化分派接收,並且在提供的接收 (在遠端呼叫伺服器端上的內容界限) 的鏈結前面來鏈結它。

public:
 virtual System::Runtime::Remoting::Messaging::IMessageSink ^ GetServerContextSink(System::Runtime::Remoting::Messaging::IMessageSink ^ nextSink);
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
[<System.Security.SecurityCritical>]
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

具有新同步化分派接收的複合接收鏈結。

實作

屬性

備註

目前的方法是 的實作 IContributeServerContextSink.GetServerContextSink

適用於