Partager via


TcpChannel 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).

This topic lists the properties supported by TcpChannel channel. TcpChannel contains both TcpServerChannel and TcpClientChannel and therefore supports the properties for both classes.

For more information about the following properties, see Server Channel Properties:

  • authorizationModule

  • bindTo

  • exclusiveAddressUse

  • impersonate

  • port

  • rejectRemoteRequests

  • suppressChannelData

  • useIpAddress

For more information about the following properties, see Client Channel Properties:

  • connectionGroupName

  • domain

  • password

  • retryCount

  • servicePrincipleName

  • socketCachePolicy

  • socketCacheTimeout

  • timeout

  • tokenImpersonationLevel

  • username

For more information about the following properties, see General Channel Properties:

  • machineName

  • name

  • priority

  • protectionLevel

  • secure

See Also

Tasks

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

Concepts

TcpServerChannel Properties
TcpClientChannel Properties