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
)
參數
- request
型別:Microsoft.ComplexEventProcessing.ManagementService. . :: . .CheckpointRequest
要開始執行檢查點之查詢的名稱。
- asyncCallback
型別:System. . :: . .AsyncCallback
當檢查點完成時要呼叫的選擇性非同步回撥。
- asyncState
型別:System. . :: . .Object
使用者提供的物件,用以區別此非同步檢查點要求與其他要求。
傳回值
型別:System. . :: . .IAsyncResult
可能仍為暫止狀態的非同步檢查點。
備註
如需詳細資訊,請參閱<建立具有恢復功能的 StreamInsight 應用程式>。