IWebSiteOperations.GetRepositoryAsync Method (String, String, CancellationToken)
Asynchronously retrieves a website repository.
Namespace: Microsoft.WindowsAzure.Management.WebSites
Assembly: Microsoft.WindowsAzure.Management.WebSites (in Microsoft.WindowsAzure.Management.WebSites.dll)
Syntax
Task<WebSiteGetRepositoryResponse> GetRepositoryAsync(
string webSpaceName,
string webSiteName,
CancellationToken cancellationToken
)
Task<WebSiteGetRepositoryResponse^>^ GetRepositoryAsync(
String^ webSpaceName,
String^ webSiteName,
CancellationToken cancellationToken
)
abstract GetRepositoryAsync :
webSpaceName:string *
webSiteName:string *
cancellationToken:CancellationToken -> Task<WebSiteGetRepositoryResponse>
Function GetRepositoryAsync (
webSpaceName As String,
webSiteName As String,
cancellationToken As CancellationToken
) As Task(Of WebSiteGetRepositoryResponse)
Parameters
webSpaceName
Type: System.StringThe name of the web space.
webSiteName
Type: System.StringThe name of the website.
cancellationToken
Type: System.Threading.CancellationTokenThe cancellation token.
Return Value
Type: System.Threading.Tasks.Task<WebSiteGetRepositoryResponse>
An WebSiteGetRepositoryResponse object that contains the website repository.
Remarks
For more information about retrieving a repository, see Create (POST) or Retrieve (GET) a Website Repository.
See Also
IWebSiteOperations Interface
Microsoft.WindowsAzure.Management.WebSites Namespace
Return to top