VectorStoreCollection<TKey,TRecord>.CollectionExistsAsync Methode

Definition

Überprüft, ob die Auflistung im Vektorspeicher vorhanden ist.

public abstract System.Threading.Tasks.Task<bool> CollectionExistsAsync(System.Threading.CancellationToken cancellationToken = default);
abstract member CollectionExistsAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
Public MustOverride Function CollectionExistsAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Boolean)

Parameter

cancellationToken
CancellationToken

Der CancellationToken zu überwachende Monitor für Abbruchanforderungen. Der Standardwert lautet None.

Gibt zurück

true wenn die Auflistung vorhanden ist, false andernfalls.

Gilt für: