WS_SERVICE_PROXY_STATE 枚举 (webservices.h)

服务代理的状态。

语法

typedef enum {
  WS_SERVICE_PROXY_STATE_CREATED = 0,
  WS_SERVICE_PROXY_STATE_OPENING = 1,
  WS_SERVICE_PROXY_STATE_OPEN = 2,
  WS_SERVICE_PROXY_STATE_CLOSING = 3,
  WS_SERVICE_PROXY_STATE_CLOSED = 4,
  WS_SERVICE_PROXY_STATE_FAULTED = 5
} WS_SERVICE_PROXY_STATE;

常量

 
WS_SERVICE_PROXY_STATE_CREATED
值: 0
WS_SERVICE_PROXY_STATE_OPENING
值:1
WS_SERVICE_PROXY_STATE_OPEN
值: 2
WS_SERVICE_PROXY_STATE_CLOSING
值: 3
WS_SERVICE_PROXY_STATE_CLOSED
值: 4
WS_SERVICE_PROXY_STATE_FAULTED
值: 5

要求

要求
最低受支持的客户端 Windows 7 [仅限桌面应用]
最低受支持的服务器 Windows Server 2008 R2 [仅限桌面应用]
标头 webservices.h