Rediger

Del via


DurableOperationContext Class

Definition

Caution

The WF3 types are deprecated. Instead, please use the new WF4 types from System.Activities.*

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

public ref class DurableOperationContext abstract sealed
public static class DurableOperationContext
[System.Obsolete("The WF3 types are deprecated.  Instead, please use the new WF4 types from System.Activities.*")]
public static class DurableOperationContext
type DurableOperationContext = class
[<System.Obsolete("The WF3 types are deprecated.  Instead, please use the new WF4 types from System.Activities.*")>]
type DurableOperationContext = class
Public Class DurableOperationContext
Inheritance
DurableOperationContext
Attributes

Properties

InstanceId

Gets the service ID of this service instance.

Methods

AbortInstance()

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

CompleteInstance()

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

Applies to