Condividi tramite


HttpServerChannel.ChannelSinkChain Proprietà

Definizione

Ottiene la catena di sink del canale usata dal canale corrente.

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

Valore della proprietà

Catena di sink del canale usata dal canale corrente.

Implementazioni

Esempio

Nell'esempio di codice seguente viene illustrato come utilizzare la ChannelSinkChain proprietà . Questo esempio di codice fa parte di un esempio più ampio fornito per la HttpServerChannel classe .

// 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());

Si applica a