Hi Team,
I am getting error as below for the mentioned line inside try block. I am not getting what am I missing the line. Can anyone suggest me please?
configured value:
try
{
objAuthenticateClient.Endpoint.Binding.SendTimeout = new TimeSpan(0, 0, Convert.ToInt32(ConfigurationManager.AppSettings["MDWTimeoutInSeconds"]));
objAuthenticateClientResponse = objAuthenticateClient.authenticate(objAuthenticateClientRequest);
LogResponseData(objAuthenticateClientResponse, request.TransactionID);
}
Error:
the exception Timeouts larger than Int32.MaxValue TotalMilliseconds (approximately 24 days) cannot be honored. To disable timeout, specify TimeSpan.MaxValue.
Thanks
Sachin SinghPosted Oct 27, 2021, 10:29 AM
best=binding.SendTimeout = TimeSpan.MaxValue;Sowmya SirsiPosted Oct 27, 2021, 2:47 PM