This topic has not yet been rated - Rate this topic

DurableOperationContext Class

Provides a set of static methods to gain access to related information and functionality.

System.Object
  System.ServiceModel.Dispatcher.DurableOperationContext

Namespace:  System.ServiceModel.Dispatcher
Assembly:  System.WorkflowServices (in System.WorkflowServices.dll)
public static class DurableOperationContext

The DurableOperationContext type exposes the following members.

  Name Description
Public property Static member InstanceId Gets the service ID of this service instance.
Top
  Name Description
Public method Static member AbortInstance Purges the current durable service instance from memory after the operation has completed.
Public method Static member CompleteInstance Unloads the durable service instance from memory and deletes it from persistence after the operation has completed.
Top

.NET Framework

Supported in: 4, 3.5

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ