共用方式為


WS_SERVICE_PROXY_STATE列舉 (webservices.h)

服務 Proxy 的狀態。

Syntax

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