SoapClientFormatterSinkProvider.CreateSink Method

Definition

Creates a sink chain.

C#
public System.Runtime.Remoting.Channels.IClientChannelSink CreateSink(System.Runtime.Remoting.Channels.IChannelSender channel, string url, object remoteChannelData);

Parameters

channel
IChannelSender

Channel for which this sink chain is being constructed.

url
String

URL of object to connect to or the channel URI for the target object.

remoteChannelData
Object

A channel data object describing a channel on the remote server.

Returns

The first sink of the newly formed channel sink chain, or null, which indicates that this provider will not or cannot provide a connection for this endpoint.

Implements

Remarks

When the CreateSink method is called, it creates its own channel sink, forwards the CreateSink call to the next sink provider in the chain (if there is one), and ensures that the next sink and the current one are linked together.

Applies to

Producto Versiones
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1