Redigera

Dela via


IClientFormatterSinkProvider Interface

Definition

Marks a client channel sink provider as a client formatter sink provider.

public interface class IClientFormatterSinkProvider : System::Runtime::Remoting::Channels::IClientChannelSinkProvider
public interface IClientFormatterSinkProvider : System.Runtime.Remoting.Channels.IClientChannelSinkProvider
[System.Runtime.InteropServices.ComVisible(true)]
public interface IClientFormatterSinkProvider : System.Runtime.Remoting.Channels.IClientChannelSinkProvider
type IClientFormatterSinkProvider = interface
    interface IClientChannelSinkProvider
[<System.Runtime.InteropServices.ComVisible(true)>]
type IClientFormatterSinkProvider = interface
    interface IClientChannelSinkProvider
Public Interface IClientFormatterSinkProvider
Implements IClientChannelSinkProvider
Derived
Attributes
Implements

Remarks

A IClientFormatterSinkProvider creates client formatter sinks for the client channel through which remoting messages flow. The first sink on the client side must implement both the IMessageSink and IClientChannelSink interfaces, or the IClientFormatterSink interface.

To use a <formatter> tag instead of a <provider> tag within a configuration file, the client channel sink provider must implement the IClientFormatterSinkProvider interface instead of merely IClientChannelSinkProvider. For additional information about remoting configuration, see Channel and Formatter Configuration Properties and Remoting Settings Schema.

Some formatter sink implementations use run-time formatters (BinaryFormatter and SoapFormatter). Other implementations can use their own means to transform the channel message into the stream. On the return journey the formatter sink will transform the message stream back into the channel message elements (return message).

Properties

Next

Gets or sets the next sink provider in the channel sink provider chain.

(Inherited from IClientChannelSinkProvider)

Methods

CreateSink(IChannelSender, String, Object)

Creates a sink chain.

(Inherited from IClientChannelSinkProvider)

Applies to