PersistenceProvider::EndLoad Method (IAsyncResult^)

 

When implemented in a derived class, represents the end of the Load phase. The Load phase occurs when state data is loaded into the persistence provider from the persistence store.

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

public:
virtual Object^ EndLoad(
	IAsyncResult^ result
) abstract

Parameters

result
Type: System::IAsyncResult^

A reference to the result of the operation.

Return Value

Type: System::Object^

The service state information.

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

public override object EndLoad(IAsyncResult result)
{
    base.ThrowIfDisposedOrNotOpen();
    return this.factory.EndLoad(result);
}

.NET Framework
Available since 3.5
Return to top
Show: