public class SoapServerFormatterSinkProvider : IServerFormatterSinkProvider, IServerChannelSinkProvider
|
Channel sink providers are stored in a chain, and the user is responsible for chaining all channel sink providers together before passing the outer one to the channel constructor. IServerChannelSinkProvider provides a property called IServerChannelSinkProvider.Next for this purpose.
When multiple channel sink providers are specified in a configuration file, the remoting infrastructure will chain them together in the order they are found in the configuration file. The channel sink providers and the channels are created during the RemotingConfiguration.Configure call.
Formatter sinks use sink configuration properties to configure the channel at run time. Sink properties can be specified in a configuration file, or programmatically, inside of an IDictionary. In a configuration file all values are represented by strings, but when building a property IDictionary programmatically, value types can be specified with their native values or with strings.
The following table shows the sink configuration properties that can be specified for the current sink.
Property | Description |
---|---|
includeVersions | true or false . Specifies whether the formatter will include versioning information. |
ctor #1 | Overloaded:.ctor() Default constructor. This constructor is called by derived class constructors to initialize state in this type.Initializes a new instance of the SoapServerFormatterSinkProvider class with default values. |
ctor #2 | Overloaded:.ctor(IDictionary properties, ICollection providerData) Initializes a new instance of the SoapServerFormatterSinkProvider class with the provided properties and provider data. |
Next | Read-write Gets or sets the next IServerChannelSinkProvider in the sink provider chain. |
CreateSink | Creates a sink chain. |
Equals (inherited from System.Object) |
See base class member description: System.Object.Equals Derived from System.Object, the primary base class for all objects. |
GetChannelData | Returns the channel data for the channel that the current sink is associated with. |
GetHashCode (inherited from System.Object) |
See base class member description: System.Object.GetHashCode Derived from System.Object, the primary base class for all objects. |
GetType (inherited from System.Object) |
See base class member description: System.Object.GetType Derived from System.Object, the primary base class for all objects. |
ToString (inherited from System.Object) |
See base class member description: System.Object.ToString Derived from System.Object, the primary base class for all objects. |
Finalize (inherited from System.Object) |
See base class member description: System.Object.Finalize Derived from System.Object, the primary base class for all objects. |
MemberwiseClone (inherited from System.Object) |
See base class member description: System.Object.MemberwiseClone Derived from System.Object, the primary base class for all objects. |
Hierarchy:
public SoapServerFormatterSinkProvider(); |
public SoapServerFormatterSinkProvider( |
properties
providerData
public IServerChannelSinkProvider Next {get; set;}
|
public IServerChannelSink CreateSink( |
channel
~SoapServerFormatterSinkProvider(); |
public void GetChannelData( |
channelData
public virtual int GetHashCode(); |
public Type GetType(); |
protected object MemberwiseClone(); |
public virtual string ToString(); |