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 |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for