IClientChannelSink.NextChannelSink Property

Definition

Gets the next client channel sink in the client sink chain.

public:
 property System::Runtime::Remoting::Channels::IClientChannelSink ^ NextChannelSink { System::Runtime::Remoting::Channels::IClientChannelSink ^ get(); };
public System.Runtime.Remoting.Channels.IClientChannelSink NextChannelSink { get; }
public System.Runtime.Remoting.Channels.IClientChannelSink NextChannelSink { [System.Security.SecurityCritical] get; }
member this.NextChannelSink : System.Runtime.Remoting.Channels.IClientChannelSink
[<get: System.Security.SecurityCritical>]
member this.NextChannelSink : System.Runtime.Remoting.Channels.IClientChannelSink
Public ReadOnly Property NextChannelSink As IClientChannelSink

Property Value

The next client channel sink in the client sink chain.

Attributes

Exceptions

The immediate caller does not have infrastructure permission.

Examples

The following code example illustrates an implementation of this property.

public:
   property IClientChannelSink^ NextChannelSink 
   {
      virtual IClientChannelSink^ get()
      {
         return (nextSink);
      }
   }
public IClientChannelSink NextChannelSink
{
    get
    {
        return(nextSink);
    }
}

Remarks

Channel sinks are linked together in a chain of sink providers and all channel messages flow through this chain before they are serialized and transported.

Applies to