Udostępnij za pośrednictwem


BlobOperationsExtensions.UploadAsync Method

Definition

public static System.Threading.Tasks.Task<Microsoft.Azure.ContainerRegistry.Models.BlobUploadHeaders> UploadAsync (this Microsoft.Azure.ContainerRegistry.IBlobOperations operations, System.IO.Stream value, string location, System.Threading.CancellationToken cancellationToken = default);
static member UploadAsync : Microsoft.Azure.ContainerRegistry.IBlobOperations * System.IO.Stream * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.ContainerRegistry.Models.BlobUploadHeaders>
<Extension()>
Public Function UploadAsync (operations As IBlobOperations, value As Stream, location As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of BlobUploadHeaders)

Parameters

operations
IBlobOperations
value
Stream
location
String
cancellationToken
CancellationToken

Returns

Applies to