Health​Application​Configuration Class

Definition

Gives access to the configuration file for the application and exposes some of the settings directly.

public class HealthApplicationConfiguration
Inheritance
HealthApplicationConfiguration
Derived

Constructors

Health​Application​Configuration()

Fields

Default​Default​Request​Timeout

The default request time out value.

Default​Default​Request​Time​To​Live

The default request time to live value.

Default​Hash​Algorithm​Name

The default hash algorithm name.

Default​Hmac​Algorithm​Name

The default HMAC algorithm name.

Default​Request​Compression​Threshold

Default size for compression threshold

Default​Retry​On​Internal500​Count

The default number of internal retries.

Default​Retry​On​Internal500​Sleep​Seconds

Default sleep duration in seconds.

Default​Signature​Algorithm​Name

The default signature algorithm name.

Default​Signature​Hash​Algorithm​Name

The default signature hash algorithm name.

Default​Symmetric​Algorithm​Name

The default symmetric algorithm name.

Properties

Application​Certificate

Gets a certificate containing the application's private key.

Application​Id

Gets the application's unique identifier.

Blob​Stream​Url

Gets the URL to/from which BLOBs get streamed, for the configured default instance of the HealthVault web-service.

Connection​Lease​Timeout

Gets the amount of time, in milliseconds, that the application's connection can remain open before the HealthVault framework closes the connection.

Connection​Max​Idle​Time

Gets the amount of time, in milliseconds, that the application's connection can remain idle before the HealthVault framework closes the connection.

Connection​Use​Http​Keep​Alive

Gets a value that indicates whether the application uses Http 1.1 persistent connections to HealthVault.

Current

Gets or sets the current configuration object for the app-domain.

Default​Request​Timeout

Gets the request timeout in seconds.

Default​Request​Time​To​Live

Gets the request time to live in seconds.

Hash​Algorithm​Name

Gets the name of the hashing algorithm to use when communicating with HealthVault.

Health​Client​Service​Url

Gets the HealthVault client service URL for the configured default instance of the HealthVault web-service, from the application or web configuration file.

Health​Vault​Method​Url

Gets the HealthVault method request URL for the configured default instance of the HealthVault web-service.

Health​Vault​Shell​Url

Gets the HealthVault Shell URL for the configured default instance of the HealthVault web-service.

Health​Vault​Type​Schema​Url

Gets the HealthVault type schema root URL for the configured default instance of the HealthVault web-service.

Health​Vault​Url

Gets the root URL for a default instance of the HealthVault web-service.

Hmac​Algorithm​Name

Gets the name of the algorithm used to ensure communication with HealthVault isn't tampered with.

Inline​Blob​Hash​Block​Size

Gets the size in bytes of the block used to hash inlined BLOB data.

Multi​Instance​Aware

Gets the value which indicates whether the application is able to handle connecting to multiple instances of the HealthVault web-service.

Request​Compression​Method

Gets the method used to compress requests.

Request​Compression​Threshold

Gets the size in kilobytes above which requests will be compressed.

Response​Compression​Methods

Gets the application's supported compression methods that can be sent back from HealtVault during a method response.

Rest​Health​Vault​Url

Gets the root URL for a default instance of the Rest HealthVault service

Retry​On​Internal500​Count

Gets the number of retries the .NET APIs will make when getting an internal error response (error 500) from HealthVault.

Retry​On​Internal500​Sleep​Seconds

Gets the sleep duration in seconds between retries due to HealthVault returning an internal error (error 500).

Service​Info​Default​Cache​Ttl

Gets the value which specifies the period of time before the ServiceInfo.Current built-in cache is considered expired.

Signature​Algorithm​Name

Gets the name of the signature algorithm.

Signature​Hash​Algorithm​Name

Gets the name of the signature hash algorithm.

Supported​Type​Versions

Gets the type version identifiers of types supported by this application.

Symmetric​Algorithm​Name

Gets the name of the symmetric algorithm.

Use​Legacy​Type​Version​Support

Gets a value indicating whether or not legacy type versioning support should be used.

Methods

Get​Configuration​String(​String)

Gets the string configuration value given the key