IWorkflowInstanceManagement.BeginAbandon Metoda

Definice

Zahájí asynchronní operaci, která opustí zadanou instanci pracovního postupu.

public:
 IAsyncResult ^ BeginAbandon(Guid instanceId, System::String ^ reason, AsyncCallback ^ callback, System::Object ^ state);
[System.ServiceModel.OperationContract(AsyncPattern=true, Name="Abandon")]
public IAsyncResult BeginAbandon(Guid instanceId, string reason, AsyncCallback callback, object state);
[<System.ServiceModel.OperationContract(AsyncPattern=true, Name="Abandon")>]
abstract member BeginAbandon : Guid * string * AsyncCallback * obj -> IAsyncResult
Public Function BeginAbandon (instanceId As Guid, reason As String, callback As AsyncCallback, state As Object) As IAsyncResult

Parametry

instanceId
Guid

Identifikátor GUID instance pracovního postupu, který se má opustit.

reason
String

Důvod opuštění instance pracovního postupu

callback
AsyncCallback

Asynchronní delegát zpětného volání, který obdrží oznámení o dokončení asynchronní operace.

state
Object

Objekt určený aplikací, který obsahuje informace o stavu přidružené k asynchronní operaci opuštění.

Návraty

IAsyncResult.

Atributy

Poznámky

Proces opuštění ukončí instanci pracovního postupu, zničí všechny přidružené objekty a uvolní přidružené prostředky.

Platí pro