Cached​Service​Info​Provider Class

Definition

A cached provider for service info retrieved from the HealthVault web-service.

public class CachedServiceInfoProvider : Microsoft.Health.IServiceInfoProvider
Inheritance
CachedServiceInfoProvider
Implements

Remarks

This provider will cache the service information it obtains from Platform for a configured or specified period of time.

Constructors

Cached​Service​Info​Provider()

Initializes a new instance of the provider using the expiration period provided through configuration and retrieving the full service info response.

Cached​Service​Info​Provider(​Service​Info​Sections)

Initializes a new instance of the provider using the expiration period provided through configuration and retrieving the service information for the specified response sections.

Cached​Service​Info​Provider(​Time​Span)

Initializes a new instance of the provider with a specified expiration period and retrieving the full service info response.

Cached​Service​Info​Provider(​Uri)

Initializes a new instance of the provider using the expiration period provided through configuration and retrieving the full service info response using the specified HealthVault web-service URL.

Cached​Service​Info​Provider(​Service​Info​Sections, ​Time​Span)

Initializes a new instance of the provider with a specified expiration period and retrieving the service information for the specified response sections.

Cached​Service​Info​Provider(​Service​Info​Sections, ​Time​Span, ​Uri)

Initializes a new instance of the provider with a specified expiration period and retrieving the service information for the specified response sections using the specified HealthVault web-service URL.

Methods

Get​Service​Info()

Returns the service information retrieved from the HealthVault web-service.