AIProjectDatasetsOperations.GetDatasetsAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| GetDatasetsAsync(RequestOptions) |
[Protocol Method] List the latest version of each DatasetVersion
|
| GetDatasetsAsync(CancellationToken) |
List the latest version of each DatasetVersion. |
GetDatasetsAsync(RequestOptions)
[Protocol Method] List the latest version of each DatasetVersion
- This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
public virtual System.ClientModel.Primitives.AsyncCollectionResult GetDatasetsAsync(System.ClientModel.Primitives.RequestOptions options);
abstract member GetDatasetsAsync : System.ClientModel.Primitives.RequestOptions -> System.ClientModel.Primitives.AsyncCollectionResult
override this.GetDatasetsAsync : System.ClientModel.Primitives.RequestOptions -> System.ClientModel.Primitives.AsyncCollectionResult
Public Overridable Function GetDatasetsAsync (options As RequestOptions) As AsyncCollectionResult
Parameters
- 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
Service returned a non-success status code.
Applies to
GetDatasetsAsync(CancellationToken)
List the latest version of each DatasetVersion.
public virtual System.ClientModel.AsyncCollectionResult<Azure.AI.Projects.AIProjectDataset> GetDatasetsAsync(System.Threading.CancellationToken cancellationToken = default);
abstract member GetDatasetsAsync : System.Threading.CancellationToken -> System.ClientModel.AsyncCollectionResult<Azure.AI.Projects.AIProjectDataset>
override this.GetDatasetsAsync : System.Threading.CancellationToken -> System.ClientModel.AsyncCollectionResult<Azure.AI.Projects.AIProjectDataset>
Public Overridable Function GetDatasetsAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncCollectionResult(Of AIProjectDataset)
Parameters
- cancellationToken
- CancellationToken
The cancellation token that can be used to cancel the operation.
Returns
Exceptions
Service returned a non-success status code.