DurableServiceAttribute Class
Specifies the internal execution behavior of a durable service contract implementation.
Assembly: System.WorkflowServices (in System.WorkflowServices.dll)
The following items are checked as part of the validation logic for durable services:
All sessionful bindings have a context binding element such as WSHttpContextBindingElement or NetTcpContextBindingElement.
The ConcurrencyMode value must not be set to Multiple.
The InstanceContextMode value must be PerSession.
There must be one sessionful endpoint configured for the service.
If the contract disallows sessions, then CanCreateInstance must be set to true for all operations.
If the contract permits or allows sessions then all operations for which CanCreateInstance is set to true must be request/response operations, that is IsOneWay cannot be set to true.
If SaveStateInOperationTransaction is set to true, then all operations on the service must either be marked with OperationBehaviorAttribute.TransactionScopeRequired set to true or marked with TransactionFlowOption.Mandatory. Additionally, ConcurrencyMode must be set to Single.
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.