CloudBlobClient.SetServicePropertiesAsync Method (ServiceProperties, CancellationToken) (Microsoft.WindowsAzure.Storage.Blob)
From Microsoft Windows Azure Storage Blob
C#
C++
F#
VB
CloudBlobClient.::..SetServicePropertiesAsync Method (ServiceProperties, CancellationToken)(ServiceProperties^, CancellationToken)(ServiceProperties, CancellationToken)(ServiceProperties, CancellationToken)
Initiates an asynchronous operation that sets service properties for the Blob service.
Namespace:
Microsoft.WindowsAzure.Storage.Blob
Assembly:
Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
Syntax
[DoesServiceRequestAttribute]
public virtual Task SetServicePropertiesAsync(
ServiceProperties properties,
CancellationToken cancellationToken
)
C++
public:
[DoesServiceRequestAttribute]
virtual Task^ SetServicePropertiesAsync(
ServiceProperties^ properties,
CancellationToken cancellationToken
)
[<DoesServiceRequestAttribute>]
abstract SetServicePropertiesAsync :
properties:ServiceProperties *
cancellationToken:CancellationToken -> Task
[<DoesServiceRequestAttribute>]
override SetServicePropertiesAsync :
properties:ServiceProperties *
cancellationToken:CancellationToken -> Task
<DoesServiceRequestAttribute>
Public Overridable Function SetServicePropertiesAsync (
properties As ServiceProperties,
cancellationToken As CancellationToken
) As Task
Parameters
- properties
-
Type:
Microsoft.WindowsAzure.Storage.Shared.Protocol.ServicePropertiesMicrosoft.WindowsAzure.Storage.Shared.Protocol::ServiceProperties^Microsoft.WindowsAzure.Storage.Shared.Protocol.ServicePropertiesMicrosoft.WindowsAzure.Storage.Shared.Protocol.ServiceProperties
A ServiceProperties object.
- cancellationToken
-
Type:
System.Threading.CancellationTokenSystem.Threading::CancellationTokenSystem.Threading.CancellationTokenSystem.Threading.CancellationToken
A CancellationToken to observe while waiting for a task to complete.
Return Value
Type:
System.Threading.Tasks.TaskSystem.Threading.Tasks::Task^System.Threading.Tasks.TaskSystem.Threading.Tasks.TaskA Task object that represents the asynchronous operation.
See Also
SetServicePropertiesAsync Overload
CloudBlobClient Class
Microsoft.WindowsAzure.Storage.Blob Namespace
Return to top
Initiates an asynchronous operation that sets service properties for the Blob service.
Syntax
[DoesServiceRequestAttribute] public virtual Task SetServicePropertiesAsync( ServiceProperties properties, CancellationToken cancellationToken )
C++
public: [DoesServiceRequestAttribute] virtual Task^ SetServicePropertiesAsync( ServiceProperties^ properties, CancellationToken cancellationToken )
[<DoesServiceRequestAttribute>] abstract SetServicePropertiesAsync : properties:ServiceProperties * cancellationToken:CancellationToken -> Task [<DoesServiceRequestAttribute>] override SetServicePropertiesAsync : properties:ServiceProperties * cancellationToken:CancellationToken -> Task
<DoesServiceRequestAttribute> Public Overridable Function SetServicePropertiesAsync ( properties As ServiceProperties, cancellationToken As CancellationToken ) As Task
Parameters
- properties
-
Type:
Microsoft.WindowsAzure.Storage.Shared.Protocol.ServicePropertiesMicrosoft.WindowsAzure.Storage.Shared.Protocol::ServiceProperties^Microsoft.WindowsAzure.Storage.Shared.Protocol.ServicePropertiesMicrosoft.WindowsAzure.Storage.Shared.Protocol.ServiceProperties
A ServiceProperties object.
- cancellationToken
-
Type:
System.Threading.CancellationTokenSystem.Threading::CancellationTokenSystem.Threading.CancellationTokenSystem.Threading.CancellationToken
A CancellationToken to observe while waiting for a task to complete.
Return Value
Type: System.Threading.Tasks.TaskSystem.Threading.Tasks::Task^System.Threading.Tasks.TaskSystem.Threading.Tasks.TaskA Task object that represents the asynchronous operation.
See Also
SetServicePropertiesAsync Overload
CloudBlobClient Class
Microsoft.WindowsAzure.Storage.Blob Namespace