HealthServiceRequest.HandleResponseResult(Stream, WebHeaderCollection) HealthServiceRequest.HandleResponseResult(Stream, WebHeaderCollection) Method

Definition

Handles the response data and headers retrieved from the web request.

public static Microsoft.Health.HealthServiceResponseData HandleResponseResult (System.IO.Stream stream, System.Net.WebHeaderCollection responseHeaders);
static member HandleResponseResult : System.IO.Stream * System.Net.WebHeaderCollection -> Microsoft.Health.HealthServiceResponseData

Parameters

stream
Stream Stream

The response stream from the web request.

responseHeaders
WebHeaderCollection WebHeaderCollection

The response headers from the web request.

Returns

Exceptions

HealthVault returns an exception in the form of an exception section in the response XML.

Applies to