CachedServiceInfoProvider CachedServiceInfoProvider CachedServiceInfoProvider Class

Definition

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

public class CachedServiceInfoProvider : Microsoft.Health.IServiceInfoProvider
type CachedServiceInfoProvider = class
    interface IServiceInfoProvider
Public Class CachedServiceInfoProvider
Implements IServiceInfoProvider
Inheritance
CachedServiceInfoProviderCachedServiceInfoProviderCachedServiceInfoProvider
Implements

Remarks

This provider will cache the service information it obtains from Platform for

a configured or specified period of time.

Constructors

CachedServiceInfoProvider() CachedServiceInfoProvider() CachedServiceInfoProvider()

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

CachedServiceInfoProvider(ServiceInfoSections) CachedServiceInfoProvider(ServiceInfoSections) CachedServiceInfoProvider(ServiceInfoSections)

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

CachedServiceInfoProvider(TimeSpan) CachedServiceInfoProvider(TimeSpan) CachedServiceInfoProvider(TimeSpan)

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

CachedServiceInfoProvider(Uri) CachedServiceInfoProvider(Uri) CachedServiceInfoProvider(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.

CachedServiceInfoProvider(ServiceInfoSections, TimeSpan) CachedServiceInfoProvider(ServiceInfoSections, TimeSpan) CachedServiceInfoProvider(ServiceInfoSections, TimeSpan)

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

CachedServiceInfoProvider(ServiceInfoSections, TimeSpan, Uri) CachedServiceInfoProvider(ServiceInfoSections, TimeSpan, Uri) CachedServiceInfoProvider(ServiceInfoSections, TimeSpan, 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

GetServiceInfo() GetServiceInfo() GetServiceInfo()

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

Applies to