DurableOperationAttribute.CompletesInstance 属性

定义

获取或设置一个值,该值指示操作执行完毕后是否将服务实例从内存中卸载并从永久性存储区中删除。

public:
 property bool CompletesInstance { bool get(); void set(bool value); };
public bool CompletesInstance { get; set; }
member this.CompletesInstance : bool with get, set
Public Property CompletesInstance As Boolean

属性值

Boolean

如果操作执行完毕后将从内存中卸载实例,则为 true;否则为 false

适用于