ข้ามไปยังเนื้อหา

Interface ICdcCaptureExecutionRuntimeManagedConnectorExecutionAdapter

เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน

Namespace: Cephalon.Abstractions.Data
Assembly: Cephalon.Abstractions.dll

Translates one shared managed-connector command request into a provider-facing execution shape.

public interface ICdcCaptureExecutionRuntimeManagedConnectorExecutionAdapter

Gets the stable provider execution-adapter identifier exposed on shared runtime surfaces.

string AdapterId { get; }

string

CanHandle(CdcCaptureExecutionRuntimeDescriptor)

Section titled “ CanHandle(CdcCaptureExecutionRuntimeDescriptor)”

Gets a value indicating whether the adapter can currently handle the supplied execution runtime.

bool CanHandle(CdcCaptureExecutionRuntimeDescriptor runtime)

runtime CdcCaptureExecutionRuntimeDescriptor

The execution runtime being evaluated.

bool

true when the adapter can translate commands for the runtime; otherwise, false.

ExecuteAsync(CdcCaptureExecutionRuntimeDescriptor, string, CdcCaptureExecutionRuntimeManagedConnectorCommandExecutionRequest?, CancellationToken)

Section titled “ ExecuteAsync(CdcCaptureExecutionRuntimeDescriptor, string, CdcCaptureExecutionRuntimeManagedConnectorCommandExecutionRequest?, CancellationToken)”

Translates one shared managed-connector command request into a provider-facing command shape.

ValueTask<CdcCaptureExecutionRuntimeManagedConnectorCommandExecutionResult> ExecuteAsync(CdcCaptureExecutionRuntimeDescriptor runtime, string operationId, CdcCaptureExecutionRuntimeManagedConnectorCommandExecutionRequest? request = null, CancellationToken cancellationToken = default)

runtime CdcCaptureExecutionRuntimeDescriptor

The execution runtime that owns the managed connector.

operationId string

The stable managed-connector operation identifier to translate.

request CdcCaptureExecutionRuntimeManagedConnectorCommandExecutionRequest?

Optional operator intent supplied with the execution request.

cancellationToken CancellationToken

The token used to observe cancellation.

ValueTask<CdcCaptureExecutionRuntimeManagedConnectorCommandExecutionResult>

The typed command-execution result describing how the provider adapter handled the request.