共用方式為


HttpServerChannel.ChannelSinkChain 屬性

定義

取得目前通道正在使用的通道接收鏈結。

public:
 property System::Runtime::Remoting::Channels::IServerChannelSink ^ ChannelSinkChain { System::Runtime::Remoting::Channels::IServerChannelSink ^ get(); };
public System.Runtime.Remoting.Channels.IServerChannelSink ChannelSinkChain { get; }
member this.ChannelSinkChain : System.Runtime.Remoting.Channels.IServerChannelSink
Public ReadOnly Property ChannelSinkChain As IServerChannelSink

屬性值

IServerChannelSink

目前通道正在使用的通道接收鏈結。

實作

範例

下列程式碼範例示範如何使用 ChannelSinkChain 屬性。 此程式碼範例是針對 類別提供的較大範例的 HttpServerChannel 一部分。

// Get the channel's sink chain.
IServerChannelSink^ sinkChain = serverChannel->ChannelSinkChain;
Console::WriteLine( L"The type of the server channel's sink chain is {0}.", sinkChain->GetType() );
// Get the channel's sink chain.
IServerChannelSink sinkChain = serverChannel.ChannelSinkChain;
Console.WriteLine(
    "The type of the server channel's sink chain is {0}.",
    sinkChain.GetType().ToString());

適用於