Dela via


SiteProcessResource.GetSiteProcessThreadsAsync(CancellationToken) Method

Definition

Description for List the threads in a process by its ID for a specific scaled-out instance in a web site.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/processes/{processId}/threads
  • Operation Id: WebApps_ListProcessThreads
  • Default Api Version: 2024-04-01
  • Resource: SiteProcessResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.AppService.Models.WebAppProcessThreadInfo> GetSiteProcessThreadsAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetSiteProcessThreadsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.AppService.Models.WebAppProcessThreadInfo>
override this.GetSiteProcessThreadsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.AppService.Models.WebAppProcessThreadInfo>
Public Overridable Function GetSiteProcessThreadsAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of WebAppProcessThreadInfo)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of WebAppProcessThreadInfo that may take multiple service requests to iterate over.

Applies to