DurableOperationAttribute Class
.NET Framework Class Library
DurableOperationAttribute Class

Specifies the local execution behavior of a durable service method.

Namespace:  System.ServiceModel.Description
Assembly:  System.WorkflowServices (in System.WorkflowServices.dll)
Visual Basic (Declaration)
<AttributeUsageAttribute(AttributeTargets.Method)> _
Public NotInheritable Class DurableOperationAttribute _
    Inherits Attribute _
    Implements IOperationBehavior, IWmiInstanceProvider
Visual Basic (Usage)
Dim instance As DurableOperationAttribute
C#
[AttributeUsageAttribute(AttributeTargets.Method)]
public sealed class DurableOperationAttribute : Attribute, 
    IOperationBehavior, IWmiInstanceProvider
Visual C++
[AttributeUsageAttribute(AttributeTargets::Method)]
public ref class DurableOperationAttribute sealed : public Attribute, 
    IOperationBehavior, IWmiInstanceProvider
JScript
public final class DurableOperationAttribute extends Attribute implements IOperationBehavior, IWmiInstanceProvider

Durable service state information will be persisted when the operation has successfully been invoked. You cannot persist state information during the middle of operation execution as you can with workflow services.

System..::.Object
  System..::.Attribute
    System.ServiceModel.Description..::.DurableOperationAttribute
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

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.

.NET Framework

Supported in: 3.5
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
Page view tracker