通过


你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

DesktopVirtualizationExtensions.GetVirtualApplicationGroup Method

Definition

Get an application group. <item> Mocking. To mock this method, please mock GetVirtualApplicationGroup(String, CancellationToken) instead. </item>

public static Azure.Response<Azure.ResourceManager.DesktopVirtualization.VirtualApplicationGroupResource> GetVirtualApplicationGroup(this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string applicationGroupName, System.Threading.CancellationToken cancellationToken = default);
static member GetVirtualApplicationGroup : Azure.ResourceManager.Resources.ResourceGroupResource * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DesktopVirtualization.VirtualApplicationGroupResource>
<Extension()>
Public Function GetVirtualApplicationGroup (resourceGroupResource As ResourceGroupResource, applicationGroupName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of VirtualApplicationGroupResource)

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource the method will execute against.

applicationGroupName
String

The name of the application group.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

applicationGroupName is an empty string, and was expected to be non-empty.

resourceGroupResource is null.

Applies to