Freigeben über


IGallery.GetImageAsync(String, CancellationToken) Methode

Definition

Ruft Informationen zu einem Bild im Katalog ab.

public System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Fluent.IGalleryImage> GetImageAsync (string imageName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetImageAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Fluent.IGalleryImage>
Public Function GetImageAsync (imageName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IGalleryImage)

Parameter

imageName
String

Der Name des Bildes.

cancellationToken
CancellationToken

Gibt zurück

Gilt für: