KnowledgeBases.GetAllAsync Method

Definition

Overloads

Name Description
GetAllAsync(CancellationToken)

List KnowledgeBase resources.

GetAllAsync(RequestContext)

[Protocol Method] List KnowledgeBase resources

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.

GetAllAsync(CancellationToken)

Source:
KnowledgeBases.cs

List KnowledgeBase resources.

public virtual Azure.AsyncPageable<Azure.AI.Discovery.KnowledgeBase> GetAllAsync(System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.AI.Discovery.KnowledgeBase>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.AI.Discovery.KnowledgeBase>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of KnowledgeBase)

Parameters

cancellationToken
CancellationToken

The cancellation token that can be used to cancel the operation.

Returns

Exceptions

Service returned a non-success status code.

Applies to

GetAllAsync(RequestContext)

Source:
KnowledgeBases.cs

[Protocol Method] List KnowledgeBase resources

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
public virtual Azure.AsyncPageable<BinaryData> GetAllAsync(Azure.RequestContext context);
abstract member GetAllAsync : Azure.RequestContext -> Azure.AsyncPageable<BinaryData>
override this.GetAllAsync : Azure.RequestContext -> Azure.AsyncPageable<BinaryData>
Public Overridable Function GetAllAsync (context As RequestContext) As AsyncPageable(Of BinaryData)

Parameters

context
RequestContext

The request options, which can override default behaviors of the client pipeline on a per-call basis.

Returns

The response returned from the service.

Exceptions

Service returned a non-success status code.

Applies to