IClientChannelSink.NextChannelSink 属性

定义

获取客户端接收器链中的下一个客户端信道接收器。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; }
[get: System.Security.SecurityCritical]
public System.Runtime.Remoting.Channels.IClientChannelSink NextChannelSink { 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

属性值

IClientChannelSink

客户端接收器链中的下一个客户端信道接收器。The next client channel sink in the client sink chain.

属性

例外

直接调用方没有基础结构权限。The immediate caller does not have infrastructure permission.

示例

下面的代码示例演示了此属性的实现。The following code example illustrates an implementation of this property.

public:
   property IClientChannelSink^ NextChannelSink 
   {
      virtual IClientChannelSink^ get()
      {
         return (nextSink);
      }
   }
public IClientChannelSink NextChannelSink
{
    [SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.Infrastructure)]
    get
    {
        return(nextSink);
    }
}

注解

通道接收器在接收器提供程序链中链接在一起,并且所有通道消息在序列化和传输之前都流过此链。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.

适用于