DurableOperationContext Class
TOC
Collapse the table of content
Expand the table of content

DurableOperationContext Class

 
Note: This API is now obsolete.

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

Namespace:   System.ServiceModel.Dispatcher
Assembly:  System.WorkflowServices (in System.WorkflowServices.dll)

System.Object
  System.ServiceModel.Dispatcher.DurableOperationContext

[ObsoleteAttribute("The WF3 types are deprecated.  Instead, please use the new WF4 types from System.Activities.*")]
public static class DurableOperationContext

NameDescription
System_CAPS_pubpropertySystem_CAPS_staticInstanceId

Gets the service ID of this service instance.

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticAbortInstance()

Purges the current durable service instance from memory after the operation has completed.

System_CAPS_pubmethodSystem_CAPS_staticCompleteInstance()

Unloads the durable service instance from memory and deletes it from persistence after the operation has completed.

.NET Framework
Available since 3.5

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft