DurableOperationContext 类

定义

注意

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

提供一组静态方法以获取对相关信息和功能的访问。

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
继承
DurableOperationContext
属性

属性

InstanceId
已过时.

获取此服务实例的服务 ID。

方法

AbortInstance()
已过时.

操作完成后从内存中清除当前持久性服务实例。

CompleteInstance()
已过时.

操作完成后将持久性服务实例从内存中卸载并将其从永久性存储区中删除。

适用于