Freigeben über


AIProjectMemoryStoresOperations.GetMemoryStore Method

Definition

Overloads

Name Description
GetMemoryStore(String, RequestOptions)

[Protocol Method] Retrieve a memory store.

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

Retrieve a memory store.

GetMemoryStore(String, RequestOptions)

Source:
AIProjectMemoryStoresOperations.cs

[Protocol Method] Retrieve 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 GetMemoryStore(string name, System.ClientModel.Primitives.RequestOptions options);
abstract member GetMemoryStore : string * System.ClientModel.Primitives.RequestOptions -> System.ClientModel.ClientResult
override this.GetMemoryStore : string * System.ClientModel.Primitives.RequestOptions -> System.ClientModel.ClientResult
Public Overridable Function GetMemoryStore (name As String, options As RequestOptions) As ClientResult

Parameters

name
String

The name of the memory store to retrieve.

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

GetMemoryStore(String, CancellationToken)

Source:
AIProjectMemoryStoresOperations.cs

Retrieve a memory store.

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

Parameters

name
String

The name of the memory store to retrieve.

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