Compartilhar via


ChannelServices.CreateServerChannelSinkChain Método

Definição

Cria uma cadeia de coletores de canal para o canal especificado.

public:
 static System::Runtime::Remoting::Channels::IServerChannelSink ^ CreateServerChannelSinkChain(System::Runtime::Remoting::Channels::IServerChannelSinkProvider ^ provider, System::Runtime::Remoting::Channels::IChannelReceiver ^ channel);
public static System.Runtime.Remoting.Channels.IServerChannelSink CreateServerChannelSinkChain (System.Runtime.Remoting.Channels.IServerChannelSinkProvider provider, System.Runtime.Remoting.Channels.IChannelReceiver channel);
[System.Security.SecurityCritical]
public static System.Runtime.Remoting.Channels.IServerChannelSink CreateServerChannelSinkChain (System.Runtime.Remoting.Channels.IServerChannelSinkProvider provider, System.Runtime.Remoting.Channels.IChannelReceiver channel);
static member CreateServerChannelSinkChain : System.Runtime.Remoting.Channels.IServerChannelSinkProvider * System.Runtime.Remoting.Channels.IChannelReceiver -> System.Runtime.Remoting.Channels.IServerChannelSink
[<System.Security.SecurityCritical>]
static member CreateServerChannelSinkChain : System.Runtime.Remoting.Channels.IServerChannelSinkProvider * System.Runtime.Remoting.Channels.IChannelReceiver -> System.Runtime.Remoting.Channels.IServerChannelSink
Public Shared Function CreateServerChannelSinkChain (provider As IServerChannelSinkProvider, channel As IChannelReceiver) As IServerChannelSink

Parâmetros

provider
IServerChannelSinkProvider

O primeiro provedor na cadeia de provedores de coletor que criará a cadeia de coletores de canal.

channel
IChannelReceiver

O IChannelReceiver para o qual criar a cadeia de coletores de canal.

Retornos

Uma nova cadeia de coletores de canal para o canal especificado.

Atributos

Exceções

O chamador imediato não tem permissão de infraestrutura.

Aplica-se a