Partilhar via


StorageResourceItem.GetCopyAuthorizationHeaderAsync(CancellationToken) Method

Definition

Gets the Authorization Header for the storage resource if available.

protected internal abstract System.Threading.Tasks.Task<Azure.HttpAuthorization> GetCopyAuthorizationHeaderAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetCopyAuthorizationHeaderAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.HttpAuthorization>
Protected Friend MustOverride Function GetCopyAuthorizationHeaderAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of HttpAuthorization)

Parameters

cancellationToken
CancellationToken

Optional CancellationToken to propagate notifications that the operation should be cancelled.

Returns

Gets the HTTP Authorization header for the storage resource if available. If not available will return default.

Applies to