<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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for