WS_FAULT_DISCLOSURE enumeration

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


enum WS_FAULT_DISCLOSURE {  WS_MINIMAL_FAULT_DISCLOSURE  = 0, 
  WS_FULL_FAULT_DISCLOSURE 

};

Constants

WS_MINIMAL_FAULT_DISCLOSURE

Use a generic fault string for all errors.

WS_FULL_FAULT_DISCLOSURE

Use the error string as the fault string.

Requirements

Minimum supported client

Windows 7 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 R2 [desktop apps | Windows Store apps]

Header

WebServices.h

 

 

Community Additions

ADD
Show: