Edit

Share via


IContributeObjectSink.GetObjectSink(MarshalByRefObject, IMessageSink) Method

Definition

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

obj
MarshalByRefObject

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