Interface ICdcCaptureCatalog
เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน
Namespace: Cephalon.Abstractions.Data
Assembly: Cephalon.Abstractions.dll
Exposes the CDC capture surfaces visible to the current runtime.
public interface ICdcCaptureCatalogProperties
Section titled “Properties”CdcCaptures
Section titled “ CdcCaptures”Gets all CDC capture surfaces visible to the current runtime.
IReadOnlyList<CdcCaptureDescriptor> CdcCaptures { get; }Property Value
Section titled “Property Value”IReadOnlyList<CdcCaptureDescriptor>
Methods
Section titled “Methods”GetByExecutionRuntimeId(string)
Section titled “ GetByExecutionRuntimeId(string)”Gets all CDC captures currently owned by the requested execution runtime.
IReadOnlyList<CdcCaptureDescriptor> GetByExecutionRuntimeId(string executionRuntimeId)Parameters
Section titled “Parameters”executionRuntimeId string
The execution-runtime identifier to filter by.
Returns
Section titled “Returns”IReadOnlyList<CdcCaptureDescriptor>
The matching CDC captures, or an empty list when the runtime owns none.
GetById(string)
Section titled “ GetById(string)”Gets one CDC capture by its stable identifier.
CdcCaptureDescriptor? GetById(string cdcCaptureId)Parameters
Section titled “Parameters”cdcCaptureId string
The CDC capture identifier to resolve.
Returns
Section titled “Returns”The matching CDC capture, or null when it is not active.
GetByOutboxId(string)
Section titled “ GetByOutboxId(string)”Gets all CDC captures that publish through the requested outbox.
IReadOnlyList<CdcCaptureDescriptor> GetByOutboxId(string outboxId)Parameters
Section titled “Parameters”outboxId string
The outbox identifier to filter by.
Returns
Section titled “Returns”IReadOnlyList<CdcCaptureDescriptor>
The matching CDC captures, or an empty list when no capture uses that outbox.
GetByProvider(string)
Section titled “ GetByProvider(string)”Gets all CDC captures backed by the requested provider identifier.
IReadOnlyList<CdcCaptureDescriptor> GetByProvider(string provider)Parameters
Section titled “Parameters”provider string
The provider identifier to filter by.
Returns
Section titled “Returns”IReadOnlyList<CdcCaptureDescriptor>
The matching CDC captures, or an empty list when the provider contributes none.
GetByResourceId(string)
Section titled “ GetByResourceId(string)”Gets all CDC captures that explicitly observe the requested resource identifier.
IReadOnlyList<CdcCaptureDescriptor> GetByResourceId(string resourceId)Parameters
Section titled “Parameters”resourceId string
The resource identifier to filter by.
Returns
Section titled “Returns”IReadOnlyList<CdcCaptureDescriptor>
The matching CDC captures, or an empty list when no capture declares that resource.
GetBySourceId(string)
Section titled “ GetBySourceId(string)”Gets all CDC captures that observe the requested logical source identifier.
IReadOnlyList<CdcCaptureDescriptor> GetBySourceId(string sourceId)Parameters
Section titled “Parameters”sourceId string
The source identifier to filter by.
Returns
Section titled “Returns”IReadOnlyList<CdcCaptureDescriptor>
The matching CDC captures, or an empty list when no capture uses that source.
GetBySourceModule(string)
Section titled “ GetBySourceModule(string)”Gets all CDC captures contributed by the requested module.
IReadOnlyList<CdcCaptureDescriptor> GetBySourceModule(string sourceModuleId)Parameters
Section titled “Parameters”sourceModuleId string
The source module identifier to filter by.
Returns
Section titled “Returns”IReadOnlyList<CdcCaptureDescriptor>
The matching CDC captures, or an empty list when the module contributed none.