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