IWebSiteOperations.UpdateConfigurationAsync Method (String, String, WebSiteUpdateConfigurationParameters, CancellationToken)
Asynchronously updates the configuration settings for a website.
Assembly: Microsoft.WindowsAzure.Management.WebSites (in Microsoft.WindowsAzure.Management.WebSites.dll)
Task<OperationResponse> UpdateConfigurationAsync( string webSpaceName, string webSiteName, WebSiteUpdateConfigurationParameters parameters, CancellationToken cancellationToken )
Parameters
- webSpaceName
-
Type:
System.String
The name of the web space.
- webSiteName
-
Type:
System.String
The name of the website.
- parameters
-
Type:
Microsoft.WindowsAzure.Management.WebSites.Models.WebSiteUpdateConfigurationParameters
The WebSiteUpdateConfigurationParameters object that contains the parameters that are used to update the configuration settings for a website.
- cancellationToken
-
Type:
System.Threading.CancellationToken
The cancellation token.
Return Value
Type: System.Threading.Tasks.Task<OperationResponse>An OperationResponse object that includes an HTTP status code and request ID.
For more information about retrieving settings, see Get or Set Config Details for a Site.
Show: