HealthServiceException HealthServiceException HealthServiceException Class

Definition

Represents the base class for all HealthVault exceptions thrown by the SDK.

public class HealthServiceException : Exception
type HealthServiceException = class
    inherit Exception
Public Class HealthServiceException
Inherits Exception
Inheritance
HealthServiceExceptionHealthServiceExceptionHealthServiceException
Derived

Constructors

HealthServiceException() HealthServiceException() HealthServiceException()

Creates an instance of the HealthServiceException class with default values.

HealthServiceException(String) HealthServiceException(String) HealthServiceException(String)

Creates an instance of the HealthServiceException class having the specified error message.

HealthServiceException(SerializationInfo, StreamingContext) HealthServiceException(SerializationInfo, StreamingContext) HealthServiceException(SerializationInfo, StreamingContext)

Creates an instance of the HealthServiceException class with the specified serialization information.

HealthServiceException(String, Exception) HealthServiceException(String, Exception) HealthServiceException(String, Exception)

Creates an instance of the HealthServiceException class having the specified error message and inner exception.

Properties

Error Error Error

Gets the information about an error that occurred while processing the request.

ErrorCode ErrorCode ErrorCode

Gets the status code returned by HealthVault to indicate the type of error that causes this exception.

ErrorCodeId ErrorCodeId ErrorCodeId

Gets the identifier of the status code in the HealthVault response.

Response Response Response

Contains the response information from the HealthVault service after processing a request.

Methods

GetObjectData(SerializationInfo, StreamingContext) GetObjectData(SerializationInfo, StreamingContext) GetObjectData(SerializationInfo, StreamingContext)

Serializes the exception.

ToString() ToString() ToString()

Retrieves the string representing the HealthServiceException object.

Applies to