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
ทํางานร่วมกับเราใน GitHub
แหล่งที่มาสำหรับเนื้อหานี้สามารถพบได้บน GitHub ซึ่งคุณยังสามารถสร้างและตรวจสอบปัญหาและคำขอดึงข้อมูลได้ สำหรับข้อมูลเพิ่มเติม ให้ดูคู่มือผู้สนับสนุนของเรา