Поделиться через


<reliableSession> element

Defines configuration setting for WS-Reliable Messaging.

Schema Hierarchy

<system.serviceModel>
  <bindings>

Syntax

<reliableSession
    inactivityTimeout="TimeSpan"
        ordered="Boolean" />

Attributes and Elements

The following sections describe attributes, child elements, and parent elements.

Attributes

Attribute Description

inactivityTimeOut

A TimeSpan that specifies the maximum duration the channel is going to allow the other communicating party not to send any messages before faulting the channel.

Activity on a channel is defined as receiving an application or infrastructure message. If no activity is detected for the time specified by this attribute, the session is aborted by the infrastructure and the channel faults. The reliable session is aborted.

The default is 00:10:00.

Ordered

A Boolean value that specifies whether messages are guaranteed to arrive in the order they were sent. The default is true.

Child Elements

None

Parent Elements

This element is the child element of all the standard bindings that come with Windows Communication Foundation (WCF).

See Also

Reference

ReliableSession


© 2007 Microsoft Corporation. All rights reserved.
Last Published: 2010-01-05