WS_CHANNEL_STATE enumeration
The different states that a channel can be in.
Syntax
enum WS_CHANNEL_STATE { WS_CHANNEL_STATE_CREATED = 0,
WS_CHANNEL_STATE_OPENING,
WS_CHANNEL_STATE_ACCEPTING,
WS_CHANNEL_STATE_OPEN,
WS_CHANNEL_STATE_FAULTED,
WS_CHANNEL_STATE_CLOSING,
WS_CHANNEL_STATE_CLOSED
};
Constants
- WS_CHANNEL_STATE_CREATED
- WS_CHANNEL_STATE_OPENING
- WS_CHANNEL_STATE_ACCEPTING
- WS_CHANNEL_STATE_OPEN
- WS_CHANNEL_STATE_FAULTED
- WS_CHANNEL_STATE_CLOSING
- WS_CHANNEL_STATE_CLOSED
Remarks
The following are the state transitions for a channel.

A channel may move to the WS_CHANNEL_STATE_FAULTED state even if WsAbortChannel was never called. This will only occur if the channel can no longer be used.
Note that only the valid state transitions are shown. Using a function not shown for a given state will result in an WS_E_INVALID_OPERATION error being returned from the function (or crash in the case of WsFreeChannel). For information on error codes, seeWindows Web Services Return Values.
Requirements
|
Minimum supported client | Windows 7 [desktop apps only] |
|---|---|
|
Minimum supported server | Windows Server 2008 R2 [desktop apps only] |
|
Header |
|