Export (0) Print
Expand All

HealthRecordAccessor Constructor

HealthVault
Creates a new instance of the HealthRecordAccessor class.

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

public:
HealthRecordAccessor(
	ApplicationConnection^ connection, 
	Guid id
)

Parameters

connection
Type: Microsoft.Health..::..ApplicationConnection
An instance of a connection to which the record operations will be directed.
id
Type: System..::..Guid
The unique identifier for the record.

This constructor creates a view of a personal health record.

ExceptionCondition
System..::..ArgumentNullException The connection parameter is null.
System..::..ArgumentException The id parameter is Guid.Empty.
Show:
© 2014 Microsoft