Share via


你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

CloudBlobClient.BeginGetUserDelegationKey 方法

定义

重载

BeginGetUserDelegationKey(DateTimeOffset, DateTimeOffset, AsyncCallback, Object)

开始异步操作以获取用于生成基于用户委派的共享访问签名令牌的用户委派密钥。

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

开始异步操作以获取用于生成基于用户委派的共享访问签名令牌的用户委派密钥。

BeginGetUserDelegationKey(DateTimeOffset, DateTimeOffset, AsyncCallback, Object)

开始异步操作以获取用于生成基于用户委派的共享访问签名令牌的用户委派密钥。

[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

参数

keyStart
DateTimeOffset

密钥有效性的有效启动,表示为 DateTimeOffset

keyEnd
DateTimeOffset

密钥有效性的有效结束,表示为 DateTimeOffset

callback
AsyncCallback

AsyncCallback 异步操作完成时接收通知的委托。

state
Object

将传递给回调委托的用户定义对象。

返回

引用 ICancellableAsyncResult 异步操作的 。

属性

适用于

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

开始异步操作以获取用于生成基于用户委派的共享访问签名令牌的用户委派密钥。

[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

参数

keyStart
DateTimeOffset

密钥有效性的有效启动,表示为 DateTimeOffset

keyEnd
DateTimeOffset

密钥有效性的有效结束,表示为 DateTimeOffset

accessCondition
AccessCondition

一个 AccessCondition 对象,表示继续处理请求而必须满足的条件。 如果为 null,则不使用任何条件。

options
BlobRequestOptions

一个 BlobRequestOptions 对象,该对象指定请求的任何其他选项。

operationContext
OperationContext

一个 OperationContext 对象,它一个表示当前操作的上下文。

callback
AsyncCallback

AsyncCallback 异步操作完成时接收通知的委托。

state
Object

将传递给回调委托的用户定义对象。

返回

引用 ICancellableAsyncResult 异步操作的 。

属性

适用于