Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

WS_LISTENER_STATE enumeration

The different states that a listener can be in.

Syntax


enum WS_LISTENER_STATE {  WS_LISTENER_STATE_CREATED, 
  WS_LISTENER_STATE_OPENING, 
  WS_LISTENER_STATE_OPEN, 
  WS_LISTENER_STATE_FAULTED, 
  WS_LISTENER_STATE_CLOSING, 
  WS_LISTENER_STATE_CLOSED 

};

Constants

WS_LISTENER_STATE_CREATED
WS_LISTENER_STATE_OPENING
WS_LISTENER_STATE_OPEN
WS_LISTENER_STATE_FAULTED
WS_LISTENER_STATE_CLOSING
WS_LISTENER_STATE_CLOSED

Remarks

The following are the state transitions for a Listener.

Dd401952.ListenerStates(en-us,VS.85).png

A listener will only move to WS_LISTENER_STATE_FAULTED state if WsAbortListener is called.

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 WsFreeListener). See Windows Web Services Return Values.

Requirements

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

WebServices.h

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.