Server.BeginCheckpoint Method (Query, AsyncCallback, Object)

 

Initiates an asynchronous checkpoint for the query.

Namespace:   Microsoft.ComplexEventProcessing
Assembly:  Microsoft.ComplexEventProcessing (in Microsoft.ComplexEventProcessing.dll)

Syntax

public IAsyncResult BeginCheckpoint(
    Query query,
    AsyncCallback asyncCallback,
    object asyncState
)
public:
IAsyncResult^ BeginCheckpoint(
    Query^ query,
    AsyncCallback^ asyncCallback,
    Object^ asyncState
)
member BeginCheckpoint : 
        query:Query *
        asyncCallback:AsyncCallback *
        asyncState:Object -> IAsyncResult
Public Function BeginCheckpoint (
    query As Query,
    asyncCallback As AsyncCallback,
    asyncState As Object
) As IAsyncResult

Parameters

  • asyncCallback
    Type: System.AsyncCallback

    An optional asynchronous callback, to be called when the checkpoint is complete.

  • asyncState
    Type: System.Object

    A user-provided object that distinguishes this asynchronous checkpoint request from other requests.

Return Value

Type: System.IAsyncResult

The asynchronous checkpoint, which could still be pending.

Remarks

For more information, see Building Resilient StreamInsight Applications.

See Also

Server Class
Microsoft.ComplexEventProcessing Namespace

Return to top