Export (0) Print
Expand All

NewItems Method

Creates new health record items associated with the record.

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

public void NewItems(
	IList<HealthRecordItem> items


Type: System.Collections.Generic..::..IList<(Of <(<'HealthRecordItem>)>)>
The health record items from which to create new instances.

This method accesses the HealthVault service across the network.

Microsoft.Health..::..HealthServiceException The HealthVault service returned an error. The exception's Error property will contain the index of the item on which the failure occurred in the ErrorInfo property. If any failures occur, no items will have been created.
System..::..ArgumentNullException At least one HealthRecordItem in the supplied list was null.
© 2014 Microsoft