WCFReliableSession Class

The WCFReliableSession class allows you to use reliable messaging for your service connections, as long as the binding type you are using supports the WS-ReliableMessaging protocol. WCFReliableSession also lets you get and set message ordering and duration.

Properties

WCFReliableSession property Type Description
Enabled Boolean Specifies whether the connection uses the WS-ReliableMessaging protocol. The default for this property depends on the binding type used for the service connection. Values are:
  • true – reliable messaging is enabled.
  • false – reliable messaging is not enabled.
Ordered Boolean Specifies whether messages are delivered in the order they are sent. Values are:
  • true (default) – messages are delivered in the order sent.
  • false – message order is not specified.
Duration Int64 (PowerScript longlong) Specifies the duration, in seconds, of a reliable messaging sequence. The default value is 600 seconds (10 minutes).
Related reference
WCFnetTCPBinding Class
WCFwsHttpBinding Class