IWebSiteOperations.GetPublishProfileAsync Method (String, String, CancellationToken)
Asynchronously retrieves the publish settings information for a website.
Namespace: Microsoft.WindowsAzure.Management.WebSites
Assembly: Microsoft.WindowsAzure.Management.WebSites (in Microsoft.WindowsAzure.Management.WebSites.dll)
Syntax
Task<WebSiteGetPublishProfileResponse> GetPublishProfileAsync(
string webSpaceName,
string webSiteName,
CancellationToken cancellationToken
)
Task<WebSiteGetPublishProfileResponse^>^ GetPublishProfileAsync(
String^ webSpaceName,
String^ webSiteName,
CancellationToken cancellationToken
)
abstract GetPublishProfileAsync :
webSpaceName:string *
webSiteName:string *
cancellationToken:CancellationToken -> Task<WebSiteGetPublishProfileResponse>
Function GetPublishProfileAsync (
webSpaceName As String,
webSiteName As String,
cancellationToken As CancellationToken
) As Task(Of WebSiteGetPublishProfileResponse)
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<WebSiteGetPublishProfileResponse>
An WebSiteGetPublishProfileResponse object that contains the publish settings.
Remarks
For more information about retrieving publish settings, see Get a Site’s Publish Profile.
See Also
IWebSiteOperations Interface
Microsoft.WindowsAzure.Management.WebSites Namespace
Return to top