What does the "ordered" flag on the WCF Server do in reliable sessions?

79 Views Asked by At

I understand what the "ordered" flag on the client side does.....but does the server side config do anything? I know comms will work irrespective of whether the "ordered" flag is set to "true" or "false". Is it a redundanct setting for the server side?

1

There are 1 best solutions below

8
On

The explanation of "ordered" in the Microsoft documentation is as follows:

You specify the ordered delivery assurances for the reliable session by setting the ordered attribute to true.

This attribute indicates whether the server will process the messages in the order in which the client sends messages. For example, if the sequence of the client calling service operations is Step1-Step2-Step3, then the server will also receive messages in this order. Setting it to false does not Will affect the operation of the service, it only indicates the server whether to process according to the order in which the client sends messages.

So it is not a redundant setting, you can set it according to your requirement.

Feel free to let me know if the problem persists.