Bagikan melalui


IContributeObjectSink.GetObjectSink(MarshalByRefObject, IMessageSink) Metode

Definisi

Menautkan sink pesan objek server yang disediakan di depan rantai sink yang diberikan.

API ini mendukung infrastruktur produk dan tidak dimaksudkan untuk digunakan langsung dari kode Anda.

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

Parameter

obj
MarshalByRefObject

Objek server yang menyediakan sink pesan yang akan ditautkan di depan rantai yang diberikan.

nextSink
IMessageSink

Rantai wastafel yang terdiri sejauh ini.

Mengembalikan

Rantai sink komposit.

Atribut

Berlaku untuk