SynchronizationAttribute.GetServerContextSink(IMessageSink) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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);
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
Parameters
- nextSink
- IMessageSink
The chain of sinks composed so far.
Returns
The composite sink chain with the new synchronized dispatch sink.
Implements
- Attributes
Remarks
The current method is an implementation of IContributeServerContextSink.GetServerContextSink.
Applies to
ทํางานร่วมกับเราใน GitHub
แหล่งที่มาสำหรับเนื้อหานี้สามารถพบได้บน GitHub ซึ่งคุณยังสามารถสร้างและตรวจสอบปัญหาและคำขอดึงข้อมูลได้ สำหรับข้อมูลเพิ่มเติม ให้ดูคู่มือผู้สนับสนุนของเรา