WCFnetTCPBinding Class

The WCFnetTCPBinding class enables you to communicate with WCF Web services from a WCF client using NetTcpBinding. This binding is intended only for WCF-to-WCF communication.

Properties

WCFnetTCPBinding property Type Description
MaxConnections Int32 (PowerScript long) Specifies a value for the maximum number of connections to be pooled for subsequent reuse on the client. The default for netTcpBinding is 10.
ReliableSession WCFReliableSession (class) Specifies whether to enable reliable sessions (using the WS-ReliableMessaging protocol) and defines settings for these sessions when enabled.
TransactionFlow Boolean Specifies whether transaction flowing is supported. Values are:
  • true – supported.
  • false (default) – not supported.
TransactionProtocol TransactionProtocolType (enumeration) Specifies the transaction protocol to use in flowing transactions. Values are: DEFAULT (default), OLETRANSACTIONS, WSATOMICTRANSACTION11, and WSATOMICTRANSACTION_ OCTOBER2004.
TransferMode WSTransferMode (enumeration) Gets or sets a value to indicate whether messages are buffered or streamed. Values are: BUFFERED (default), STREAMED, STREAMEDREQUEST, and STREAMEDRESPONSE.
Security NetTcpSecurity (class) Specifies the type of security to use with services configured for NetTcpBinding. The default security mode is TRANSPORT.
ReaderQuotas WCFReaderQuotas (class) Gets or sets processing constraints based on the SOAP message complexity for endpoints with this binding type.
HostNameComparisonMode WCFHostNameComparisonMode (enum) When matching the URI, indicates whether to use the host name to reach the service. Values are: StrongWildCard (default), Exact, and WeakWildCard.
MaxBufferSize Int32 (PowerScript long) Specifies the maximum size for a buffer that receives messages from the channel. The default value is 65536.
MaxBufferPoolSize Int64 (PowerScript longlong) Specifies the maximum amount of memory allocated for the manager of the buffers required by the endpoints using this binding. The default value is 524288.
MaxReceivedMessageSize Int64 (PowerScript longlong) Specifies the maximum size for a message that can be processed by the binding. The default value is 65536.
ListenBackLog Int32 (PowerScript long) Specifies the maximum number of queued connection requests permitted. The default value is 10.
Related reference
WSTransferMode Enumeration
WCFReliableSession Class
NetTcpSecurity Class
WCFConnection Class
WCFReaderQuotas Class