Interface ICdcCapture
เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน
Namespace: Cephalon.Abstractions.Data
Assembly: Cephalon.Abstractions.dll
Captures database changes for one stable CDC surface and shapes them into outbox-ready publications.
public interface ICdcCaptureProperties
Section titled “Properties”CdcCaptureId
Section titled “ CdcCaptureId”Gets the stable CDC capture identifier owned by this implementation.
string CdcCaptureId { get; }Property Value
Section titled “Property Value”Methods
Section titled “Methods”CaptureAsync(CancellationToken)
Section titled “ CaptureAsync(CancellationToken)”Reads one bounded capture batch and returns the resulting outbox publications plus any provider-facing execution metadata.
ValueTask<CdcCaptureExecutionResult> CaptureAsync(CancellationToken cancellationToken = default)Parameters
Section titled “Parameters”cancellationToken CancellationToken
The token that cancels the capture stream.
Returns
Section titled “Returns”ValueTask<CdcCaptureExecutionResult>
The captured batch result for the active CDC surface.