When implemented in a derived class, represents the beginning of the Load phase. The Load phase occurs when state data is loaded into the persistence provider from the persistence store.
Assembly: System.WorkflowServices (in System.WorkflowServices.dll)
public abstract IAsyncResult BeginLoad( TimeSpan timeout, AsyncCallback callback, Object state )
- Type: System.TimeSpan
The time period after which the persistence provider aborts this attempt.
- Type: System.AsyncCallback
The method to be called when the operation is completed.
- Type: System.Object
A user-provided object that distinguishes this particular asynchronous operation from other operations.
Return ValueType: System.IAsyncResult
The state of the asynchronous method call.
The following code demonstrates how to implement the BeginLoad method. This code example is part of the DurableServiceFactory SDK sample from the FilePersistenceProviderFactory.cs file. For more information, seethe DurableServiceFactory SDK sample.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.