IWebSiteOperations.UpdateAsync Method (String, String, WebSiteUpdateParameters, CancellationToken)
Asynchronously updates the settings for a website.
Assembly: Microsoft.WindowsAzure.Management.WebSites (in Microsoft.WindowsAzure.Management.WebSites.dll)
Function UpdateAsync ( webSpaceName As String, webSiteName As String, parameters As WebSiteUpdateParameters, cancellationToken As CancellationToken ) As Task(Of WebSiteUpdateResponse)
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.WebSiteUpdateParameters
The WebSiteUpdateParameters object that contains the parameters that are used to update a website.
- cancellationToken
-
Type:
System.Threading.CancellationToken
The cancellation token.
Return Value
Type: System.Threading.Tasks.Task(Of WebSiteUpdateResponse)An WebSiteUpdateResponse object that contains the status information about the updated website.
For more information about update a website, see Update Website Settings
Show: