Compartilhar via


DesktopVirtualizationClient.UserSessionsGetWithResult Method

Definition

public System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.IUserSession> UserSessionsGetWithResult (string subscriptionId, string resourceGroupName, string hostPoolName, string sessionHostName, string userSessionId, Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Runtime.ISendAsync sender);
member this.UserSessionsGetWithResult : string * string * string * string * 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.IUserSession>
Public Function UserSessionsGetWithResult (subscriptionId As String, resourceGroupName As String, hostPoolName As String, sessionHostName As String, userSessionId As String, eventListener As IEventListener, sender As ISendAsync) As Task(Of IUserSession)

Parameters

subscriptionId
String
resourceGroupName
String
hostPoolName
String
sessionHostName
String
userSessionId
String
eventListener
IEventListener
sender
ISendAsync

Returns

Applies to