PersistenceProvider::EndDelete Method (IAsyncResult^)

 

When implemented in a derived class, represents the end of the Delete phase. The Delete phase occurs when state data is permanently deleted from the persistence store.

Namespace:   System.ServiceModel.Persistence
Assembly:  System.WorkflowServices (in System.WorkflowServices.dll)

public:
virtual void EndDelete(
	IAsyncResult^ result
) abstract

Parameters

result
Type: System::IAsyncResult^

A reference to the result of the operation.

The following code demonstrates how to implement the EndDelete method. This code example is part of the DurableServiceFactory SDK sample from the FilePersistenceProviderFactory.cs file. For more information, see the DurableServiceFactory SDK sample.

public override void EndDelete(IAsyncResult result)
{
    base.ThrowIfDisposedOrNotOpen();
    this.factory.EndDelete(result);
}

.NET Framework
Available since 3.5
Return to top
Show: