Share via


DesktopVirtualizationClient.WorkspacesListBySubscriptionWithResult Method

Definition

public System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.IWorkspaceList> WorkspacesListBySubscriptionWithResult (string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Runtime.ISendAsync sender);
member this.WorkspacesListBySubscriptionWithResult : string * Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Runtime.IEventListener * Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Runtime.ISendAsync -> System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.IWorkspaceList>
Public Function WorkspacesListBySubscriptionWithResult (subscriptionId As String, eventListener As IEventListener, sender As ISendAsync) As Task(Of IWorkspaceList)

Parameters

subscriptionId
String
eventListener
IEventListener
sender
ISendAsync

Returns

Applies to