BeginCheckpoint 方法

初始化查詢的非同步檢查點。

命名空間:  Microsoft.ComplexEventProcessing.ManagementService
組件:  Microsoft.ComplexEventProcessing.ManagementService (在 Microsoft.ComplexEventProcessing.ManagementService.dll 中)

語法

[FaultContractAttribute(typeof(ManagementFault), Action = "https://schemas.microsoft.com/ComplexEventProcessing/2009/05/Management/Fault")]
[FaultContractAttribute(typeof(InvalidNameFault), Action = "https://schemas.microsoft.com/ComplexEventProcessing/2009/05/Management/InvalidName")]
[OperationContractAttribute(AsyncPattern = true, Action = "https://schemas.microsoft.com/ComplexEventProcessing/2009/05/Management/Checkpoint", 
    ReplyAction = "https://schemas.microsoft.com/ComplexEventProcessing/2009/05/Management/CheckpointResponse")]
IAsyncResult BeginCheckpoint(
    CheckpointRequest request,
    AsyncCallback asyncCallback,
    Object asyncState
)

參數

  • asyncState
    型別:System. . :: . .Object
    使用者提供的物件,用以區別此非同步檢查點要求與其他要求。

傳回值

型別:System. . :: . .IAsyncResult
可能仍為暫止狀態的非同步檢查點。

備註

如需詳細資訊,請參閱<建立具有恢復功能的 StreamInsight 應用程式>。

請參閱

參考

IManagementService 介面

Microsoft.ComplexEventProcessing.ManagementService 命名空間