Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

WS_MESSAGE_INITIALIZATION enumeration

Specifies what headers the WsInitializeMessage should add to the message.

Syntax


enum WS_MESSAGE_INITIALIZATION {  WS_BLANK_MESSAGE, 
  WS_DUPLICATE_MESSAGE, 
  WS_REQUEST_MESSAGE, 
  WS_REPLY_MESSAGE, 
  WS_FAULT_MESSAGE 

};

Constants

WS_BLANK_MESSAGE

The headers of the message are empty.

WS_DUPLICATE_MESSAGE

The headers are initialized to be the same as the source message's headers.

WS_REQUEST_MESSAGE

If using WS_ADDRESSING_VERSION_0_9 or WS_ADDRESSING_VERSION_1_0, then a unique message ID is set as the MessageID header of the message. No other headers are added in the message.

WS_REPLY_MESSAGE

The ReplyTo header of the source message (an WS_ENDPOINT_ADDRESS) is used to address the message. The MessageID header of the source message is used to add a RelatesTo header to the message. If the message will contain a fault reply, then WS_FAULT_MESSAGE should be used instead.

WS_FAULT_MESSAGE

The FaultTo or ReplyTo header of the source message (an WS_ENDPOINT_ADDRESS) is used to address the message. The MessageID header of the source message is used to add a RelatesTo header to the message. This should only be used when the contents of the message will contain a fault.

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

Show:
© 2017 Microsoft