Export (0) Print
Expand All

NewItems Method

HealthVault
Creates new health record items associated with the record.

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

public void NewItems(
	IList<HealthRecordItem> items
)

Parameters

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.

ExceptionCondition
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.
Show:
© 2014 Microsoft