WS_CHANNEL_BINDING 枚举 (webservices.h)

指示要用于通道的协议堆栈。

语法

typedef enum {
  WS_HTTP_CHANNEL_BINDING = 0,
  WS_TCP_CHANNEL_BINDING = 1,
  WS_UDP_CHANNEL_BINDING = 2,
  WS_CUSTOM_CHANNEL_BINDING = 3,
  WS_NAMEDPIPE_CHANNEL_BINDING = 4
} WS_CHANNEL_BINDING;

常量

 
WS_HTTP_CHANNEL_BINDING
值: 0
SOAP over HTTP。
WS_TCP_CHANNEL_BINDING
值:1
SOAP over TCP。
WS_UDP_CHANNEL_BINDING
值: 2
SOAP over UDP。
WS_CUSTOM_CHANNEL_BINDING
值: 3
自定义通道或侦听实现。 有关详细信息,请参阅 WS_CUSTOM_CHANNEL_CALLBACKSWS_CUSTOM_LISTENER_CALLBACKS
WS_NAMEDPIPE_CHANNEL_BINDING
值: 4
Windows 8 或更高版本:
SOAP over named pipes.

要求

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