Condividi tramite


AIProjectMemoryStores.DeleteMemoryStore Method

Definition

Overloads

Name Description
DeleteMemoryStore(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.
DeleteMemoryStore(String, CancellationToken)

Delete a memory store.

DeleteMemoryStore(String, RequestOptions)

Source:
AIProjectMemoryStores.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.ClientModel.ClientResult DeleteMemoryStore(string name, System.ClientModel.Primitives.RequestOptions options);
abstract member DeleteMemoryStore : string * System.ClientModel.Primitives.RequestOptions -> System.ClientModel.ClientResult
override this.DeleteMemoryStore : string * System.ClientModel.Primitives.RequestOptions -> System.ClientModel.ClientResult
Public Overridable Function DeleteMemoryStore (name As String, options As RequestOptions) As 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

DeleteMemoryStore(String, CancellationToken)

Source:
AIProjectMemoryStores.cs

Delete a memory store.

public virtual System.ClientModel.ClientResult<Azure.AI.Projects.Memory.DeleteMemoryStoreResponse> DeleteMemoryStore(string name, System.Threading.CancellationToken cancellationToken = default);
abstract member DeleteMemoryStore : string * System.Threading.CancellationToken -> System.ClientModel.ClientResult<Azure.AI.Projects.Memory.DeleteMemoryStoreResponse>
override this.DeleteMemoryStore : string * System.Threading.CancellationToken -> System.ClientModel.ClientResult<Azure.AI.Projects.Memory.DeleteMemoryStoreResponse>
Public Overridable Function DeleteMemoryStore (name As String, Optional cancellationToken As CancellationToken = Nothing) As 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