WS_RECEIVE_OPTION enumeration (webservices.h)

Specifies whether a message is required when receiving from a channel.

Syntax

typedef enum {
  WS_RECEIVE_REQUIRED_MESSAGE = 1,
  WS_RECEIVE_OPTIONAL_MESSAGE = 2
} WS_RECEIVE_OPTION;

Constants

 
WS_RECEIVE_REQUIRED_MESSAGE
Value: 1
A message is required to be received. If the channel does not have
any more messages, then the function will fail.
WS_RECEIVE_OPTIONAL_MESSAGE
Value: 2
The message is not required to be received. If the channel does not have any more
messages, the function will return WS_S_END.
(See Windows Web Services Return Values.)

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps | UWP apps]
Minimum supported server Windows Server 2008 R2 [desktop apps | UWP apps]
Header webservices.h