編輯

共用方式為


DurableOperationContext.AbortInstance Method

Definition

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

public:
 static void AbortInstance();
public static void AbortInstance ();
static member AbortInstance : unit -> unit
Public Shared Sub AbortInstance ()

Remarks

This method call will fail unless the ConcurrencyMode value for your service is set to Single and SaveStateInOperationTransaction is set to false.

Applies to