Condividi tramite


AIProjectMemoryStoresOperations.DeleteMemoryStoreAsync Method

Definition

Overloads

Name Description
DeleteMemoryStoreAsync(String, CancellationToken)

Delete a memory store.

DeleteMemoryStoreAsync(String, RequestOptions)

[Protocol Method] Delete a memory store.

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

DeleteMemoryStoreAsync(String, CancellationToken)

Source:
AIProjectMemoryStoresOperations.cs

Delete a memory store.

public virtual System.Threading.Tasks.Task<System.ClientModel.ClientResult<Azure.AI.Projects.DeleteMemoryStoreResponse>> DeleteMemoryStoreAsync(string name, System.Threading.CancellationToken cancellationToken = default);
abstract member DeleteMemoryStoreAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.ClientModel.ClientResult<Azure.AI.Projects.DeleteMemoryStoreResponse>>
override this.DeleteMemoryStoreAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.ClientModel.ClientResult<Azure.AI.Projects.DeleteMemoryStoreResponse>>
Public Overridable Function DeleteMemoryStoreAsync (name As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ClientResult(Of DeleteMemoryStoreResponse))

Parameters

name
String

The name of the memory store to delete.

cancellationToken
CancellationToken

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

Returns

Exceptions

name is null.

name is an empty string, and was expected to be non-empty.

Service returned a non-success status code.

Applies to

DeleteMemoryStoreAsync(String, RequestOptions)

Source:
AIProjectMemoryStoresOperations.cs

[Protocol Method] Delete a memory store.

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
public virtual System.Threading.Tasks.Task<System.ClientModel.ClientResult> DeleteMemoryStoreAsync(string name, System.ClientModel.Primitives.RequestOptions options);
abstract member DeleteMemoryStoreAsync : string * System.ClientModel.Primitives.RequestOptions -> System.Threading.Tasks.Task<System.ClientModel.ClientResult>
override this.DeleteMemoryStoreAsync : string * System.ClientModel.Primitives.RequestOptions -> System.Threading.Tasks.Task<System.ClientModel.ClientResult>
Public Overridable Function DeleteMemoryStoreAsync (name As String, options As RequestOptions) As Task(Of ClientResult)

Parameters

name
String

The name of the memory store to delete.

options
RequestOptions

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

name is null.

name is an empty string, and was expected to be non-empty.

Service returned a non-success status code.

Applies to