C#C++F#VB
CloudFileClient.::..SetServicePropertiesAsync Method (FileServiceProperties, CancellationToken)(FileServiceProperties^, CancellationToken)(FileServiceProperties, CancellationToken)(FileServiceProperties, CancellationToken)
Initiates an asynchronous operation that sets service properties for the Blob service.
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
Syntax
[DoesServiceRequestAttribute] public virtual Task SetServicePropertiesAsync( FileServiceProperties properties, CancellationToken cancellationToken )
C++
public: [DoesServiceRequestAttribute] virtual Task^ SetServicePropertiesAsync( FileServiceProperties^ properties, CancellationToken cancellationToken )
[<DoesServiceRequestAttribute>] abstract SetServicePropertiesAsync : properties:FileServiceProperties * cancellationToken:CancellationToken -> Task [<DoesServiceRequestAttribute>] override SetServicePropertiesAsync : properties:FileServiceProperties * cancellationToken:CancellationToken -> Task
<DoesServiceRequestAttribute> Public Overridable Function SetServicePropertiesAsync ( properties As FileServiceProperties, cancellationToken As CancellationToken ) As Task
Parameters
- properties
-
Type:
Microsoft.WindowsAzure.Storage.File.Protocol.FileServicePropertiesMicrosoft.WindowsAzure.Storage.File.Protocol::FileServiceProperties^Microsoft.WindowsAzure.Storage.File.Protocol.FileServicePropertiesMicrosoft.WindowsAzure.Storage.File.Protocol.FileServiceProperties
A FileServiceProperties 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
CloudFileClient Class
Microsoft.WindowsAzure.Storage.File Namespace