<persistenceProvider>

<persistenceProvider>

.NET Framework (current version)
 

Specifies the type of the persistence provider implementation to use, as well as the time-out to use for persistence operations.

<system.ServiceModel>
<behaviors>
<serviceBehaviors>
<behavior>
<persistenceProvider>


<persistenceProvider persistenceOperationTimeout="TimeSpan"
   type="String" />

Attributes and Elements

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

Attributes

Attribute

Description

persistenceOperationTimeout

A TimeSpan value that specifies the time-out used for persistence operations. The default is “00:00:30”.

type

A string that specifies the type of the persistence provider factory to use.

Child Elements

None.

Parent Elements

Element

Description

<behavior> of <endpointBehaviors>

Specifies a behavior element.

This element specifies the persistence provider to be used to serialize the state of a WCF service. It should be used together with the wsHttpContextBinding which passes state information in HTTP headers.

Show:
© 2016 Microsoft