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

Class KnowledgeDocumentProviderContext

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

Namespace: Cephalon.Retrieval.Services
Assembly: Cephalon.Retrieval.dll

Provides request context to a knowledge document provider during managed indexing.

public sealed class KnowledgeDocumentProviderContext

objectKnowledgeDocumentProviderContext

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

KnowledgeDocumentProviderContext(KnowledgeCollectionDescriptor, string, DateTimeOffset, string?, string?, IReadOnlyDictionary<string, string>?)

Section titled “ KnowledgeDocumentProviderContext(KnowledgeCollectionDescriptor, string, DateTimeOffset, string?, string?, IReadOnlyDictionary<string, string>?)”

Creates provider context for a managed indexing request.

public KnowledgeDocumentProviderContext(KnowledgeCollectionDescriptor collection, string runId, DateTimeOffset requestedAtUtc, string? actorId = null, string? correlationId = null, IReadOnlyDictionary<string, string>? metadata = null)

collection KnowledgeCollectionDescriptor

The collection being indexed.

runId string

The stable indexing run identifier.

requestedAtUtc DateTimeOffset

The UTC timestamp when indexing was requested.

actorId string?

The optional actor that requested indexing.

correlationId string?

The optional correlation identifier for the indexing run.

metadata IReadOnlyDictionary<string, string>?

Optional operator-facing metadata attached to the indexing request.

Gets the optional actor that requested indexing.

public string? ActorId { get; }

string?

Gets the collection being indexed.

public KnowledgeCollectionDescriptor Collection { get; }

KnowledgeCollectionDescriptor

Gets the optional correlation identifier for the indexing run.

public string? CorrelationId { get; }

string?

Gets optional operator-facing metadata attached to the indexing request.

public IReadOnlyDictionary<string, string> Metadata { get; }

IReadOnlyDictionary<string, string>

Gets the UTC timestamp when indexing was requested.

public DateTimeOffset RequestedAtUtc { get; }

DateTimeOffset

Gets the stable indexing run identifier.

public string RunId { get; }

string