The server will reject requests that do not use an integer value of seconds for visiblity. The AddMessage method already addresses this by using a long number of seconds, but UpdateMessage takes a TimeSpan and will include fractional seconds allowing for requests that will always be rejected. This PR addresses the problem by truncating any fractional seconds when creating a Queue request.
The server will reject requests that do not use an integer value of seconds for visiblity. The AddMessage method already addresses this by using a
long
number of seconds, but UpdateMessage takes a TimeSpan and will include fractional seconds allowing for requests that will always be rejected. This PR addresses the problem by truncating any fractional seconds when creating a Queue request.