As of right now I have a timeout specified for how long a request can take using the .NET client. I am using
ExecuteGet to get an
IGetOperationResult object returned to me. I need to determine whether or not the
ExecuteGet call is taking too long and exceeding my timeout.
What exactly would the combination of expected
IGetOperationResult values be? I suspect a null
StatusCode and an exception in
Exception. Is this a correct assumption? What type of exception would I be expecting? If not, I noticed the
InnerResult field that some lines talk about some problems being reported there but would this be one of those cases?
The Java documentation directly addresses this here stating:
When this timeout occurs, most of the synchronous methods on the client will return a RuntimeException showing a timeout as the root cause. Since the asynchronous operations give finer grained control over how long is given for an operation to be successful or unsuccessful, this path throws a checked TimeoutException.
What about .NET? Current client is v1.1.6 if the Windows property window is to be believed.