Muokkaa

Jaa


<persistenceProvider>

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

<configuration>
  <system.serviceModel>
    <behaviors>
      <serviceBehaviors>
        <behavior>
          <persistenceProvider>

Syntax

<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> Specifies a behavior element.

Remarks

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.

See also