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

CloudFileShare.BeginSetPermissions 方法

定义

重载

BeginSetPermissions(FileSharePermissions, AsyncCallback, Object)

开始异步请求以设置共享的权限。

BeginSetPermissions(FileSharePermissions, AccessCondition, FileRequestOptions, OperationContext, AsyncCallback, Object)

开始异步请求以设置共享的权限。

BeginSetPermissions(FileSharePermissions, AsyncCallback, Object)

开始异步请求以设置共享的权限。

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

参数

permissions
FileSharePermissions

要应用于共享的权限。

callback
AsyncCallback

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

state
Object

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

返回

引用 ICancellableAsyncResult 异步操作的 。

属性

适用于

BeginSetPermissions(FileSharePermissions, AccessCondition, FileRequestOptions, OperationContext, AsyncCallback, Object)

开始异步请求以设置共享的权限。

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual Microsoft.Azure.Storage.ICancellableAsyncResult BeginSetPermissions (Microsoft.Azure.Storage.File.FileSharePermissions permissions, Microsoft.Azure.Storage.AccessCondition accessCondition, Microsoft.Azure.Storage.File.FileRequestOptions options, Microsoft.Azure.Storage.OperationContext operationContext, AsyncCallback callback, object state);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member BeginSetPermissions : Microsoft.Azure.Storage.File.FileSharePermissions * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.File.FileRequestOptions * Microsoft.Azure.Storage.OperationContext * AsyncCallback * obj -> Microsoft.Azure.Storage.ICancellableAsyncResult
override this.BeginSetPermissions : Microsoft.Azure.Storage.File.FileSharePermissions * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.File.FileRequestOptions * Microsoft.Azure.Storage.OperationContext * AsyncCallback * obj -> Microsoft.Azure.Storage.ICancellableAsyncResult
Public Overridable Function BeginSetPermissions (permissions As FileSharePermissions, accessCondition As AccessCondition, options As FileRequestOptions, operationContext As OperationContext, callback As AsyncCallback, state As Object) As ICancellableAsyncResult

参数

permissions
FileSharePermissions

要应用于共享的权限。

accessCondition
AccessCondition

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

options
FileRequestOptions

一个 FileRequestOptions 对象,它指定请求的其他选项。

operationContext
OperationContext

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

callback
AsyncCallback

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

state
Object

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

返回

引用 ICancellableAsyncResult 异步操作的 。

属性

适用于