ChannelServices.CreateServerChannelSinkChain Метод

Определение

Создает новую цепь приемников канала для указанного канала.

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

Параметры

provider
IServerChannelSinkProvider

Первый поставщик в цепи поставщиков приемников, которые создают цепь приемников канала.

channel
IChannelReceiver

Объект IChannelReceiver, для которого создается цепочка приемников каналов.

Возвращаемое значение

Новая цепь приемников канала для указанного канала.

Атрибуты

Исключения

У непосредственно вызывающего объекта отсутствует разрешение инфраструктуры.

Применяется к