RemoveItem Method (HealthRecordItem)

HealthVault
Marks the specified health record item as deleted.

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

public void RemoveItem(
	HealthRecordItem item
)

Parameters

item
Type: Microsoft.Health..::..HealthRecordItem
The health record item to remove.

This method accesses the HealthVault service across the network.

Health record items are never completely deleted. Instead, they are marked as deleted and are ignored for most normal operations. Items can be undeleted by contacting customer service.

ExceptionCondition
System..::..ArgumentNullException The item parameter is null.
Microsoft.Health..::..HealthServiceException There are errors that remove the health record item from the server.
Show: