CloudBlobClient.BeginGetUserDelegationKey Method

Definition

Overloads

BeginGetUserDelegationKey(DateTimeOffset, DateTimeOffset, AsyncCallback, Object)

Begins an asynchronous operation to get a user delegation key for generating user-delegation-based shared access signature tokens.

BeginGetUserDelegationKey(DateTimeOffset, DateTimeOffset, AccessCondition, BlobRequestOptions, OperationContext, AsyncCallback, Object)

Begins an asynchronous operation to get a user delegation key for generating user-delegation-based shared access signature tokens.

BeginGetUserDelegationKey(DateTimeOffset, DateTimeOffset, AsyncCallback, Object)

Begins an asynchronous operation to get a user delegation key for generating user-delegation-based shared access signature tokens.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginGetUserDelegationKey (DateTimeOffset keyStart, DateTimeOffset keyEnd, AsyncCallback callback, object state);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member BeginGetUserDelegationKey : DateTimeOffset * DateTimeOffset * AsyncCallback * obj -> Microsoft.Azure.Storage.ICancellableAsyncResult
override this.BeginGetUserDelegationKey : DateTimeOffset * DateTimeOffset * AsyncCallback * obj -> Microsoft.Azure.Storage.ICancellableAsyncResult
Public Overridable Function BeginGetUserDelegationKey (keyStart As DateTimeOffset, keyEnd As DateTimeOffset, callback As AsyncCallback, state As Object) As ICancellableAsyncResult

Parameters

keyStart
DateTimeOffset

Effective start of key validity, expressed as a DateTimeOffset.

keyEnd
DateTimeOffset

Effective end of key validity, expressed as a DateTimeOffset.

callback
AsyncCallback

An AsyncCallback delegate that will receive notification when the asynchronous operation completes.

state
Object

A user-defined object that will be passed to the callback delegate.

Returns

An ICancellableAsyncResult that references the asynchronous operation.

Attributes

Applies to

BeginGetUserDelegationKey(DateTimeOffset, DateTimeOffset, AccessCondition, BlobRequestOptions, OperationContext, AsyncCallback, Object)

Begins an asynchronous operation to get a user delegation key for generating user-delegation-based shared access signature tokens.

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginGetUserDelegationKey (DateTimeOffset keyStart, DateTimeOffset keyEnd, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.Blob.BlobRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, AsyncCallback callback, object state);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member BeginGetUserDelegationKey : DateTimeOffset * DateTimeOffset * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext * AsyncCallback * obj -> Microsoft.Azure.Storage.ICancellableAsyncResult
override this.BeginGetUserDelegationKey : DateTimeOffset * DateTimeOffset * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext * AsyncCallback * obj -> Microsoft.Azure.Storage.ICancellableAsyncResult
Public Overridable Function BeginGetUserDelegationKey (keyStart As DateTimeOffset, keyEnd As DateTimeOffset, accessCondition As AccessCondition, options As BlobRequestOptions, operationContext As OperationContext, callback As AsyncCallback, state As Object) As ICancellableAsyncResult

Parameters

keyStart
DateTimeOffset

Effective start of key validity, expressed as a DateTimeOffset.

keyEnd
DateTimeOffset

Effective end of key validity, expressed as a DateTimeOffset.

accessCondition
AccessCondition

An AccessCondition object that represents the condition that must be met in order for the request to proceed. If null, no condition is used.

options
BlobRequestOptions

A BlobRequestOptions object that specifies any additional options for the request.

operationContext
OperationContext

An OperationContext object that represents the context for the current operation.

callback
AsyncCallback

An AsyncCallback delegate that will receive notification when the asynchronous operation completes.

state
Object

A user-defined object that will be passed to the callback delegate.

Returns

An ICancellableAsyncResult that references the asynchronous operation.

Attributes

Applies to