IWebSiteOperations.RestartAsync Method (String, String, CancellationToken)
Asynchronously restarts a website.
Assembly: Microsoft.WindowsAzure.Management.WebSites (in Microsoft.WindowsAzure.Management.WebSites.dll)
Task<OperationResponse> RestartAsync( string webSpaceName, string webSiteName, CancellationToken cancellationToken )
Parameters
- webSpaceName
-
Type:
System.String
The name of the web space.
- webSiteName
-
Type:
System.String
The name of the 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 restarting a website, see Restart a Website
Show: