语言

你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。

MachineLearningRegistryDataContainerResource.GetMachineLearningRegistryDataVersionAsync Method

Definition

Gets a registry data version.

public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MachineLearning.MachineLearningRegistryDataVersionResource>> GetMachineLearningRegistryDataVersionAsync(string version, System.Threading.CancellationToken cancellationToken = default);
abstract member GetMachineLearningRegistryDataVersionAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MachineLearning.MachineLearningRegistryDataVersionResource>>
override this.GetMachineLearningRegistryDataVersionAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.MachineLearning.MachineLearningRegistryDataVersionResource>>
Public Overridable Function GetMachineLearningRegistryDataVersionAsync (version As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of MachineLearningRegistryDataVersionResource))

Parameters

version
String

Version identifier.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

version is null.

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

Applies to