KnowledgeBases.GetAll Method

Definition

Overloads

Name Description
GetAll(RequestContext)

[Protocol Method] List KnowledgeBase resources

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

List KnowledgeBase resources.

GetAll(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.Pageable<BinaryData> GetAll(Azure.RequestContext context);
abstract member GetAll : Azure.RequestContext -> Azure.Pageable<BinaryData>
override this.GetAll : Azure.RequestContext -> Azure.Pageable<BinaryData>
Public Overridable Function GetAll (context As RequestContext) As Pageable(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

GetAll(CancellationToken)

Source:
KnowledgeBases.cs

List KnowledgeBase resources.

public virtual Azure.Pageable<Azure.AI.Discovery.KnowledgeBase> GetAll(System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.AI.Discovery.KnowledgeBase>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.AI.Discovery.KnowledgeBase>
Public Overridable Function GetAll (Optional cancellationToken As CancellationToken = Nothing) As Pageable(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