WS_POLICY_STATE enumeration (webservices.h)

The state of the policy object.

Syntax

typedef enum {
  WS_POLICY_STATE_CREATED = 1,
  WS_POLICY_STATE_FAULTED = 2
} WS_POLICY_STATE;

Constants

 
WS_POLICY_STATE_CREATED
Value: 1
The initial state of the policy object.
WS_POLICY_STATE_FAULTED
Value: 2
The policy object is no longer usable due to a previous error.

Remarks

The following diagram illustrates the functions that cause state transitions in the policy object.

Diagram of the state transitions for a Policy object showing the functions that cause transitions between the Created and Faulted states.

Requirements

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