Код: Выделить всё
_client.Endpoint.Binding.ReceiveTimeout = new TimeSpan(23, 0, 0, 0);
_client.Endpoint.Binding.OpenTimeout = new TimeSpan(23, 0, 0, 0);
_client.Endpoint.Binding.CloseTimeout = new TimeSpan(23, 0, 0, 0);
_client.Endpoint.Binding.SendTimeout = new TimeSpan(23, 0, 0, 0);
_client.InnerChannel.OperationTimeout = new TimeSpan(23, 0, 0, 0);
The request channel timed out while waiting for a reply after 22.23:59:09.8753653. Increase the timeout value passed to the call to Request or increase the SendTimeout value on the Binding. The time allotted to this operation may have been a portion of a longer timeout.
Надеюсь, это просто проблема конфигурации, а не ошибка?
Конечная точка имеет тип System.ServiceModel .Description.ServiceEndpoint .NET7
Подробнее здесь: https://stackoverflow.com/questions/788 ... ncorrectly
Мобильная версия