Export (0) Print
Expand All

CancelRequest Method

HealthVault
Cancels any pending request to HealthVault that was initiated with the same connection as this request.

Namespace: Microsoft.Health
Assembly: Microsoft.Health (in Microsoft.Health.dll) Version: 2.1.0.0 (1.15.1003.9505)

public void CancelRequest()

Calling this method will cancel any requests that was started using the connection. It is up to the caller to start the request on another thread. Cancelling will cause a HealthServiceRequestCancelledException to be thrown on the thread the request was executed on.
Show:
© 2014 Microsoft