DeletePending Method

HealthVault
Deletes a request for a connection that has been made by the calling application but has not been validated by the user.

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

public static void DeletePending(
	OfflineWebApplicationConnection connection,
	string applicationPatientId
)

Parameters

connection
Type: Microsoft.Health.Web..::..OfflineWebApplicationConnection
The connection to HealthVault to use for this operation.
applicationPatientId
Type: System..::..String
The application's identifier for the user which was used to create the connection request.

ExceptionCondition
System..::..ArgumentNullException If connection is null.
System..::..ArgumentException If applicationPatientId is null or empty.
Microsoft.Health..::..HealthServiceException If an error occurs when contacting HealthVault.
Show: