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
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.