Share via


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

CloudBlobClient.SetServicePropertiesAsync 方法

定义

重载

SetServicePropertiesAsync(ServiceProperties, BlobRequestOptions, OperationContext)

启动为 Blob 服务设置服务属性的异步操作。

SetServicePropertiesAsync(ServiceProperties, BlobRequestOptions, OperationContext, CancellationToken)

启动为 Blob 服务设置服务属性的异步操作。

SetServicePropertiesAsync(ServiceProperties)

启动为 Blob 服务设置服务属性的异步操作。

SetServicePropertiesAsync(ServiceProperties, CancellationToken)

启动为 Blob 服务设置服务属性的异步操作。

SetServicePropertiesAsync(ServiceProperties, BlobRequestOptions, OperationContext)

启动为 Blob 服务设置服务属性的异步操作。

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task SetServicePropertiesAsync (Microsoft.Azure.Storage.Shared.Protocol.ServiceProperties properties, Microsoft.Azure.Storage.Blob.BlobRequestOptions requestOptions, Microsoft.Azure.Storage.OperationContext operationContext);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member SetServicePropertiesAsync : Microsoft.Azure.Storage.Shared.Protocol.ServiceProperties * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext -> System.Threading.Tasks.Task
override this.SetServicePropertiesAsync : Microsoft.Azure.Storage.Shared.Protocol.ServiceProperties * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext -> System.Threading.Tasks.Task
Public Overridable Function SetServicePropertiesAsync (properties As ServiceProperties, requestOptions As BlobRequestOptions, operationContext As OperationContext) As Task

参数

properties
ServiceProperties

ServiceProperties 对象。

requestOptions
BlobRequestOptions

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

operationContext
OperationContext

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

返回

表示异步操作的 Task 对象。

属性

适用于

SetServicePropertiesAsync(ServiceProperties, BlobRequestOptions, OperationContext, CancellationToken)

启动为 Blob 服务设置服务属性的异步操作。

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task SetServicePropertiesAsync (Microsoft.Azure.Storage.Shared.Protocol.ServiceProperties properties, Microsoft.Azure.Storage.Blob.BlobRequestOptions requestOptions, Microsoft.Azure.Storage.OperationContext operationContext, System.Threading.CancellationToken cancellationToken);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member SetServicePropertiesAsync : Microsoft.Azure.Storage.Shared.Protocol.ServiceProperties * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.SetServicePropertiesAsync : Microsoft.Azure.Storage.Shared.Protocol.ServiceProperties * Microsoft.Azure.Storage.Blob.BlobRequestOptions * Microsoft.Azure.Storage.OperationContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overridable Function SetServicePropertiesAsync (properties As ServiceProperties, requestOptions As BlobRequestOptions, operationContext As OperationContext, cancellationToken As CancellationToken) As Task

参数

properties
ServiceProperties

ServiceProperties 对象。

requestOptions
BlobRequestOptions

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

operationContext
OperationContext

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

cancellationToken
CancellationToken

等待任务完成期间要观察的 CancellationToken

返回

表示异步操作的 Task 对象。

属性

适用于

SetServicePropertiesAsync(ServiceProperties)

启动为 Blob 服务设置服务属性的异步操作。

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task SetServicePropertiesAsync (Microsoft.Azure.Storage.Shared.Protocol.ServiceProperties properties);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member SetServicePropertiesAsync : Microsoft.Azure.Storage.Shared.Protocol.ServiceProperties -> System.Threading.Tasks.Task
override this.SetServicePropertiesAsync : Microsoft.Azure.Storage.Shared.Protocol.ServiceProperties -> System.Threading.Tasks.Task
Public Overridable Function SetServicePropertiesAsync (properties As ServiceProperties) As Task

参数

properties
ServiceProperties

ServiceProperties 对象。

返回

表示异步操作的 Task 对象。

属性

适用于

SetServicePropertiesAsync(ServiceProperties, CancellationToken)

启动为 Blob 服务设置服务属性的异步操作。

[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual System.Threading.Tasks.Task SetServicePropertiesAsync (Microsoft.Azure.Storage.Shared.Protocol.ServiceProperties properties, System.Threading.CancellationToken cancellationToken);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member SetServicePropertiesAsync : Microsoft.Azure.Storage.Shared.Protocol.ServiceProperties * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.SetServicePropertiesAsync : Microsoft.Azure.Storage.Shared.Protocol.ServiceProperties * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overridable Function SetServicePropertiesAsync (properties As ServiceProperties, cancellationToken As CancellationToken) As Task

参数

properties
ServiceProperties

ServiceProperties 对象。

cancellationToken
CancellationToken

等待任务完成期间要观察的 CancellationToken

返回

表示异步操作的 Task 对象。

属性

适用于