IContributeObjectSink.GetObjectSink(MarshalByRefObject, IMessageSink) Método

Definición

Encadena el receptor de mensajes del objeto de servidor proporcionado delante de la cadena de receptores especificada.Chains the message sink of the provided server object in front of the given sink chain.

Esta API admite la infraestructura de producto y no está pensada para usarse directamente en el código.

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

Parámetros

obj
MarshalByRefObject

El objeto de servidor que proporciona el receptor de mensajes que será encadenado delante de la cadena especificada.The server object which provides the message sink that is to be chained in front of the given chain.

nextSink
IMessageSink

Cadena de receptores formada hasta este momento.The chain of sinks composed so far.

Devoluciones

IMessageSink

La cadena de receptores formada.The composite sink chain.

Atributos

Se aplica a