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

DesktopVirtualizationClient.UserSessionsGetViaIdentityWithResult Method

Definition

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

Parameters

viaIdentity
String
eventListener
IEventListener
sender
ISendAsync

Returns

Applies to