WS_RECEIVE_OPTION enumeration

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

Syntax


enum WS_RECEIVE_OPTION {  WS_RECEIVE_REQUIRED_MESSAGE, 
  WS_RECEIVE_OPTIONAL_MESSAGE 

};

Constants

WS_RECEIVE_REQUIRED_MESSAGE

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

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

Minimum supported client

Windows 7 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 R2 [desktop apps | Windows Store apps]

Header

WebServices.h

 

 

Community Additions

ADD
Show: