InstancePersistenceContext.BeginExecute Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Begins executing a persistence command asynchronously.

Namespace:  System.Runtime.Persistence
Assembly:  System.Runtime (in System.Runtime.dll)

Syntax

'Declaration
Public Function BeginExecute ( _
    command As InstancePersistenceCommand, _
    timeout As TimeSpan, _
    callback As AsyncCallback, _
    state As Object _
) As IAsyncResult
'Usage
Dim instance As InstancePersistenceContext
Dim command As InstancePersistenceCommand
Dim timeout As TimeSpan
Dim callback As AsyncCallback
Dim state As Object
Dim returnValue As IAsyncResult

returnValue = instance.BeginExecute(command, _
    timeout, callback, state)
public IAsyncResult BeginExecute(
    InstancePersistenceCommand command,
    TimeSpan timeout,
    AsyncCallback callback,
    Object state
)
public:
IAsyncResult^ BeginExecute(
    InstancePersistenceCommand^ command, 
    TimeSpan timeout, 
    AsyncCallback^ callback, 
    Object^ state
)
member BeginExecute : 
        command:InstancePersistenceCommand * 
        timeout:TimeSpan * 
        callback:AsyncCallback * 
        state:Object -> IAsyncResult 

Parameters

  • callback
    Type: System.AsyncCallback
    The delegate that receives the notification of the asynchronous receive that a request operation completes.

Return Value

Type: System.IAsyncResult
The status of an asynchronous operation.

Platforms

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Version Information

.NET Framework

Supported in: 4

.NET Framework Client Profile

Supported in: 4

See Also

Reference

InstancePersistenceContext Class

InstancePersistenceContext Members

System.Runtime.Persistence Namespace