HealthServiceAccessDeniedException HealthServiceAccessDeniedException HealthServiceAccessDeniedException Class

Definition

The exception representing a HealthVault error code of AccessDenied

public sealed class HealthServiceAccessDeniedException : Microsoft.Health.HealthServiceException
type HealthServiceAccessDeniedException = class
    inherit HealthServiceException
Public NotInheritable Class HealthServiceAccessDeniedException
Inherits HealthServiceException
Inheritance
HealthServiceAccessDeniedExceptionHealthServiceAccessDeniedExceptionHealthServiceAccessDeniedException

Constructors

HealthServiceAccessDeniedException() HealthServiceAccessDeniedException() HealthServiceAccessDeniedException()

Creates an instance of the HealthServiceAccessDeniedException class with default values.

HealthServiceAccessDeniedException(String) HealthServiceAccessDeniedException(String) HealthServiceAccessDeniedException(String)

Creates an instance of the HealthServiceAccessDeniedException class with the specified message.

HealthServiceAccessDeniedException(String, Exception) HealthServiceAccessDeniedException(String, Exception) HealthServiceAccessDeniedException(String, Exception)

Creates an instance of the HealthServiceAccessDeniedException class with the specified message and inner exception.

Methods

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

Serializes the exception.

ToString() ToString() ToString()

Retrieves the string representing the HealthServiceException object.

(Inherited from HealthServiceException)

Properties

Error Error Error

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

(Inherited from HealthServiceException)
ErrorCode ErrorCode ErrorCode

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

(Inherited from HealthServiceException)
ErrorCodeId ErrorCodeId ErrorCodeId

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

(Inherited from HealthServiceException)
Response Response Response

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

(Inherited from HealthServiceException)

Applies to