HealthServiceRequest.CancelRequest HealthServiceRequest.CancelRequest HealthServiceRequest.CancelRequest Method

Definition

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

public void CancelRequest ();
member this.CancelRequest : unit -> unit
Public Sub CancelRequest ()

Remarks

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.

Applies to