Bagikan melalui


Channel Sink Properties

This topic is specific to a legacy technology that is retained for backward compatibility with existing applications and is not recommended for new development. Distributed applications should now be developed using the  Windows Communication Foundation (WCF).

The following table shows the channel sink properties that can be specified.

Property Description Types that support this property

includeVersions

A Boolean value (true or false) that specifies whether the formatter should include versioning information.

T:System.Runtime.Remoting.Channels.BinaryClientFormatterSink

T:System.Runtime.Remoting.Channels.BinaryServerFormatterSink

T:System.Runtime.Remoting.Channels.SoapClientFormatterSink

T:System.Runtime.Remoting.Channels.SoapServerFormatterSink

metadataEnabled

A Boolean value (true or false) that specifies whether to honor requests that end in ?wsdl if this sink is in the channel sink chain. The default setting is true. If false, the sink throws an exception in all cases where metadata is requested for any object in the application domain.

This property is supported only by the .NET Framework version 1.1 on the following platforms: Windows 98, Windows NT 4.0, Windows Me, Windows 2000, Windows XP Home Edition, Windows XP Professional, and the Windows Server 2003 family.

SdlChannelSink

remoteApplicationMetadataEnabled

A Boolean value (true or false) that specifies whether to honor requests for the object Uniform Resource Identifier (URI) RemoteApplicationMetadata?wsdl, which returns Web Services Description Language (WSDL) that describe all objects published by the application domain. If false, any request to RemoteApplicationMetadata.rem triggers an exception. All other ?wsdl requests for particular object URIs are honored. If true, the global metadata request is honored. The default setting is false.

This property is supported only by the .NET Framework version 1.1 on the following platforms: Windows 98, Windows NT 4.0, Windows Me, Windows 2000, Windows XP Home Edition, Windows XP Professional, and the Windows Server 2003 family.

SdlChannelSink

strictBinding

A Boolean value (true or false) that specifies whether a receiving formatter first tries to identify the type using complete version information (if it exists) before using only the type name and assembly name without version information. The default for both system-provided formatters is false. For details, see <formatter> Element (Template).

BinaryServerFormatterSink

SoapServerFormatterSink

typeFilterLevel

A string value that specifies the level of automatic deserialization that a server channel attempts. Supported values are Low (the default) and Full. For details about deserialization levels, see Automatic Deserialization in .NET Remoting.

This property is supported only by the .NET Framework version 1.1 on the following platforms: Windows 98, Windows NT 4.0, Windows Me, Windows 2000, Windows XP Home Edition, Windows XP Professional, and the Windows Server 2003 family.

BinaryServerFormatterSink

SoapServerFormatterSink

See Also

Tasks

How to: Configure a Channel in a Configuration File
How to: Configure a Channel Programmatically

Reference

Remoting Settings Schema

Concepts

Configuration of Remote Applications
Remote Object Configuration
Remote Object Configuration