InstancePersistenceContext.BeginExecute Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Begins executing a persistence command asynchronously.
public:
IAsyncResult ^ BeginExecute(System::Runtime::DurableInstancing::InstancePersistenceCommand ^ command, TimeSpan timeout, AsyncCallback ^ callback, System::Object ^ state);
public IAsyncResult BeginExecute(System.Runtime.DurableInstancing.InstancePersistenceCommand command, TimeSpan timeout, AsyncCallback callback, object state);
member this.BeginExecute : System.Runtime.DurableInstancing.InstancePersistenceCommand * TimeSpan * AsyncCallback * obj -> IAsyncResult
Public Function BeginExecute (command As InstancePersistenceCommand, timeout As TimeSpan, callback As AsyncCallback, state As Object) As IAsyncResult
- command
- InstancePersistenceCommand
The persistence command to be executed.
- timeout
- TimeSpan
The time-out value for the operation.
- callback
- AsyncCallback
The delegate that receives the notification of the asynchronous receive that a request operation completes.
- state
- Object
The state information.
The status of an asynchronous operation.
A persistence provider can use this method to execute sub-commands as part of a command. The sub-command will be executed using BeginTryCommand, similar to commands passed to InstanceStore.BeginExecute. Commands can be nested, but a command must not execute more than one sub-command at a time.
Táirge | Leaganacha |
---|---|
.NET Framework | 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Aiseolas .NET
Is tionscadal foinse oscailte é .NET. Roghnaigh nasc chun aiseolas a thabhairt: