Langue

ChannelServices.CreateServerChannelSinkChain Méthode

Définition

Crée une chaîne de récepteur de canal pour le canal spécifié.

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

Paramètres

provider
IServerChannelSinkProvider

Premier fournisseur dans la chaîne des fournisseurs de récepteurs qui créent la chaîne de récepteur de canal.

channel
IChannelReceiver

IChannelReceiver Pour lequel créer la chaîne de récepteur de canal.

Retours

Nouvelle chaîne de récepteur de canal pour le canal spécifié.

Attributs

Exceptions

L’appelant immédiat n’a pas d’autorisation d’infrastructure.

S’applique à