Share via


DesktopVirtualizationClient.SessionHostsGetViaIdentityWithResult Method

Definition

public System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.ISessionHost> SessionHostsGetViaIdentityWithResult (string viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Runtime.ISendAsync sender);
member this.SessionHostsGetViaIdentityWithResult : 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.ISessionHost>
Public Function SessionHostsGetViaIdentityWithResult (viaIdentity As String, eventListener As IEventListener, sender As ISendAsync) As Task(Of ISessionHost)

Parameters

viaIdentity
String
eventListener
IEventListener
sender
ISendAsync

Returns

Applies to