StorageResourceItem.GetCopyAuthorizationHeaderAsync(CancellationToken) 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.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET