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