ChannelServices.CreateServerChannelSinkChain Metoda

Definicja

Tworzy łańcuch ujścia kanału dla określonego kanału.

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

Parametry

provider
IServerChannelSinkProvider

Pierwszy dostawca w łańcuchu dostawców ujścia, który utworzy łańcuch ujścia kanału.

channel
IChannelReceiver

Element IChannelReceiver , dla którego ma zostać utworzony łańcuch ujścia kanału.

Zwraca

Nowy łańcuch ujścia kanału dla określonego kanału.

Atrybuty

Wyjątki

Bezpośredni obiekt wywołujący nie ma uprawnień do infrastruktury.

Dotyczy