Class WcfBindingSettings
- Namespace
- ArcanaDevelopment.adTempus.Client
- Assembly
- ArcanaDevelopment.adTempus.Client.dll
Communication settings for the client connection.
public sealed class WcfBindingSettings
- Inheritance
-
objectWcfBindingSettings
Remarks
These settings are used to adjust the WCF binding settings for the client connection to the server.
These settings can also be configured through the application's configuration file appSettings.
Fields
MaxArrayLength
Max array length
public int MaxArrayLength
Field Value
- int
Remarks
Configure using appSettings key "ServiceHost:MaxArrayLength"
MaxBufferPoolSize
Max buffer pool size
public long MaxBufferPoolSize
Field Value
- long
Remarks
Configure using appSettings key "ServiceHost:MaxBufferPoolSize"
MaxBufferSize
Max buffer size
public int MaxBufferSize
Field Value
- int
Remarks
Configure using appSettings key "ServiceHost:MaxReceivedMessageSize"
MaxBytesPerRead
Max bytes per read
public int MaxBytesPerRead
Field Value
- int
Remarks
Configure using appSettings key "ServiceHost:MaxBytesPerRead"
MaxDepth
ReaderQuotas max reader depth.
public int MaxDepth
Field Value
- int
Remarks
Configure using appSettings key "ServiceHost:ReaderQuotas.MaxDepth"
MaxItemsInObjectGraph
public int MaxItemsInObjectGraph
Field Value
- int
MaxReceivedMessageSize
Max message size
public long MaxReceivedMessageSize
Field Value
- long
Remarks
Note: if an operation fails with error "the maximum message size quota for incoming messages has been exceeded," you generally need to increase the MaxBufferSize, not the MaxReceivedMessageSize, despite what the error message says.
Configure using appSettings key "ServiceHost:MaxReceivedMessageSize".
MaxStringContentLength
Max string content length
public int MaxStringContentLength
Field Value
- int
Remarks
Configure using appSettings key "ServiceHost:MaxStringContentLength"
ReceiveTimeout
Receive timeout
public TimeSpan ReceiveTimeout
Field Value
- TimeSpan
Remarks
Configure using appSettings key "ServiceHost:ReceiveTimeout". The value specified in appSettings must be the timeout in minutes.
SendTimeout
Send timeout
public TimeSpan SendTimeout
Field Value
- TimeSpan
Remarks
Configure using appSettings key "ServiceHost:SendTimeout". The value specified in appSettings must be the timeout in minutes.