IContributeObjectSink.GetObjectSink(MarshalByRefObject, 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.
Chains the message sink of the provided server object in front of the given sink chain.
This API supports the product infrastructure and is not intended to be used directly from your code.
public:
System::Runtime::Remoting::Messaging::IMessageSink ^ GetObjectSink(MarshalByRefObject ^ obj, System::Runtime::Remoting::Messaging::IMessageSink ^ nextSink);
public System.Runtime.Remoting.Messaging.IMessageSink GetObjectSink (MarshalByRefObject obj, System.Runtime.Remoting.Messaging.IMessageSink nextSink);
[System.Security.SecurityCritical]
public System.Runtime.Remoting.Messaging.IMessageSink GetObjectSink (MarshalByRefObject obj, System.Runtime.Remoting.Messaging.IMessageSink nextSink);
abstract member GetObjectSink : MarshalByRefObject * System.Runtime.Remoting.Messaging.IMessageSink -> System.Runtime.Remoting.Messaging.IMessageSink
[<System.Security.SecurityCritical>]
abstract member GetObjectSink : MarshalByRefObject * System.Runtime.Remoting.Messaging.IMessageSink -> System.Runtime.Remoting.Messaging.IMessageSink
Public Function GetObjectSink (obj As MarshalByRefObject, nextSink As IMessageSink) As IMessageSink
Parameters
The server object which provides the message sink that is to be chained in front of the given chain.
- nextSink
- IMessageSink
The chain of sinks composed so far.
Returns
The composite sink chain.
- Attributes
Applies to
Werk met ons samen op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en bekijken. Raadpleeg onze gids voor inzenders voor meer informatie.