Export (0) Print
Expand All

CreateRequest Method

Provides a wrapper around the XML request for the web service.

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

public virtual HealthServiceRequest CreateRequest(
	string methodName,
	int methodVersion


Type: System..::..String
The name of the method of the web-service to call.
Type: System..::..Int32
The version of the method to call.

Return Value

A HealthServiceRequest that acts as a wrapper to XML request for the HealthVault web-service.

This method skips the object model provided by the other methods of this class and acts as a simple wrapper around the XML request for the web service. The caller must provide the parameters in the correct format for the called method and in order to parse the response data.

System..::..ArgumentException The methodName parameter is null or empty.
© 2015 Microsoft