The meaning of the timeout attribute value related to WCF.
[1] binding configuration example:
<Nettcpbinding>
<Binding
Closetimeout = "timespan"
Hostnamecomparisonmode = "strongwildcard/exact/weakwildcard"
Listenbacklog = "integer"
Maxbufferpoolsize = "integer"
Maxbuffersize = "integer"
Maxconnections = "integer"
Maxcompute edmessagesize = "integer"
Name = "string"
Opentimeout = "timespan"
Portsharingenabled = "Boolean"
Receivetimeout = "timespan"
Sendtimeout = "timespan"
Transactionflow = "Boolean"
Transactionprotocol = "oletransactions/wsatomictransactionoctober2004"
Transfermode = "buffered/streamed/streamedrequest/streamedresponse"
<Reliablesession ordered = "Boolean"
Inactivitytimeout = "timespan"
Enabled = "Boolean"/>
<Security mode = "NONE/transport/message/both">
<Message clientcredentialtype = "NONE/Windows/username/Certificate/cardspace"
Defaultprotectionlevel = "NONE/sign/encryptandsign"
Algorithmsuite = "basic128/basic192/basic256/basic128rsa15/logs/tripledes/tripledesrsa15/basic128sha256/basic192sha256/tripledessha256/logs
<Transport clientcredentialtype = "NONE/Windows/Certificate"
Protectionlevel = "NONE/sign/encryptandsign"/>
</Security>
<Readerquotas maxarraylength = "integer" maxbytesperread = "integer" maxdepth = "integer" maxnametablecharcount = "integer" maxstringcontentlength = "integer"/> </binding>
</Nettcpbinding>
[2] timeout description:
| Features |
Description |
Closetimeout |
A timespan value that specifies the time interval provided to complete the close operation. The value must be greater than or equal to zero. The default value is 00:01:00. |
Opentimeout |
OneTimespanValue to specify the time interval provided by the open operation. The value must be greater than or equalZero. The default value is 00:01:00. |
Receivetimeout |
OneTimespanValue, which is the time interval provided to complete the receiving operation. The value must be greater than or equalZero. The default value is 00:10:00. |
Sendtimeout |
OneTimespanValue to specify the time interval provided by the sending operation. The value must be greater than or equalZero. The default value is 00:01:00. |
Inactivitytimeout |
A timespan that specifies the maximum duration for a channel to allow other communication parties to not send any messages before an error occurs. Activities on the channel are defined as receiving application or infrastructure messages. If no activity is detected within the time specified by this attribute, the infrastructure will stop the session and the channel will fail. A reliable session is aborted. The default value is 00:10:00. |
Maxbufferpoolsize |
An integer that specifies the maximum size of the bound buffer pool. The default value is 512*1024 bytes. Many components of Windows Communication Foundation (WCF) Use a buffer zone. Each time a buffer zone is used, creating and destroying it will occupy a large amount of resources, and the garbage collection process in the buffer zone is also the case. Using the buffer pool, you can obtain the buffer pool from the buffer pool, use the buffer pool, and then return it to the buffer pool after completing the work. This avoids system overhead for creating and destroying the buffer. |
Maxbuffersize |
A positive integer that specifies the maximum size (in bytes) of the buffer used to store messages in the memory ). IfTransfermodeAttribute equalsBuffered, The property should be equalMaxcompute edmessagesizeAttribute Value. IfTransfermodeAttribute equalsStreamed, The property cannot be greaterMaxcompute edmessagesizeAttribute value, which must be at least the header size. The default value is 65536. For more information, see maxbuffersize. |
Maxconnections |
An integer that specifies the maximum number of outbound and inbound connections that the service will create/accept. The incoming and outgoing connections are counted based on the limits specified by this attribute. Inbound connections that exceed this limit need to be queued until the number of connections is below the limit. Outbound Connections that exceed this limit need to be queued until the number of connections is below the limit. The default value is 10. |
Maxcompute edmessagesize |
A positive integer that specifies the maximum message size (in bytes) that can be received through the channel configured with this binding, including the message header. If the message exceeds this limit, the sender will receive a soap error. The receiver deletes the message and creates an event item in the trail log. The default value is 65536. |