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

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