WS_FAULT_DISCLOSURE enumeration (webservices.h)

Controls how much error information is included in a fault. Since the error object may contain sensitive data as part of the error string, it is not always appropriate to include the error strings information in all faults.

Syntax

typedef enum {
  WS_MINIMAL_FAULT_DISCLOSURE = 0,
  WS_FULL_FAULT_DISCLOSURE = 1
} WS_FAULT_DISCLOSURE;

Constants

 
WS_MINIMAL_FAULT_DISCLOSURE
Value: 0
Use a generic fault string for all errors.
WS_FULL_FAULT_DISCLOSURE
Value: 1
Use the error string as the fault string.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps | UWP apps]
Minimum supported server Windows Server 2008 R2 [desktop apps | UWP apps]
Header webservices.h