DurableOperationAttribute.CompletesInstance 属性
定义
获取或设置一个值,该值指示操作执行完毕后是否将服务实例从内存中卸载并从永久性存储区中删除。Gets or sets a value that indicates whether the service instance will be unloaded from memory and deleted from persistence once the operation has finished executing.
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
属性值
如果操作执行完毕后将从内存中卸载实例,则为 true;否则为 false。true if the instance will be unloaded after the operation has finished executing; otherwise, false.