DesktopVirtualizationClient.UserSessionsGet Method

Definition

Overloads

UserSessionsGet(String, String, String, String, String, Func<HttpResponseMessage,Task<IUserSession>,Task>, Func<HttpResponseMessage,Task<ICloudError>,Task>, IEventListener, ISendAsync)
UserSessionsGet(String, String, String, String, String, Func<HttpResponseMessage,Task<IUserSession>,Task>, Func<HttpResponseMessage,Task<ICloudError>,Task>, IEventListener, ISendAsync)

UserSessionsGet(String, String, String, String, String, Func<HttpResponseMessage,Task<IUserSession>,Task>, Func<HttpResponseMessage,Task<ICloudError>,Task>, IEventListener, ISendAsync)

public System.Threading.Tasks.Task UserSessionsGet (string subscriptionId, string resourceGroupName, string hostPoolName, string sessionHostName, string userSessionId, Func<System.Net.Http.HttpResponseMessage,System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.IUserSession>,System.Threading.Tasks.Task> onOk, Func<System.Net.Http.HttpResponseMessage,System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.ICloudError>,System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Runtime.ISendAsync sender);
member this.UserSessionsGet : string * string * string * string * string * Func<System.Net.Http.HttpResponseMessage, System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.IUserSession>, System.Threading.Tasks.Task> * Func<System.Net.Http.HttpResponseMessage, System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20191210Preview.ICloudError>, System.Threading.Tasks.Task> * Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Runtime.IEventListener * Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Runtime.ISendAsync -> System.Threading.Tasks.Task
Public Function UserSessionsGet (subscriptionId As String, resourceGroupName As String, hostPoolName As String, sessionHostName As String, userSessionId As String, onOk As Func(Of HttpResponseMessage, Task(Of IUserSession), Task), onDefault As Func(Of HttpResponseMessage, Task(Of ICloudError), Task), eventListener As IEventListener, sender As ISendAsync) As Task

Parameters

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

Returns

Task

Applies to

UserSessionsGet(String, String, String, String, String, Func<HttpResponseMessage,Task<IUserSession>,Task>, Func<HttpResponseMessage,Task<ICloudError>,Task>, IEventListener, ISendAsync)

public System.Threading.Tasks.Task UserSessionsGet (string subscriptionId, string resourceGroupName, string hostPoolName, string sessionHostName, string userSessionId, Func<System.Net.Http.HttpResponseMessage,System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20210712.IUserSession>,System.Threading.Tasks.Task> onOk, Func<System.Net.Http.HttpResponseMessage,System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20210712.ICloudError>,System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Runtime.ISendAsync sender);
member this.UserSessionsGet : string * string * string * string * string * Func<System.Net.Http.HttpResponseMessage, System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20210712.IUserSession>, System.Threading.Tasks.Task> * Func<System.Net.Http.HttpResponseMessage, System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20210712.ICloudError>, System.Threading.Tasks.Task> * Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Runtime.IEventListener * Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Runtime.ISendAsync -> System.Threading.Tasks.Task
Public Function UserSessionsGet (subscriptionId As String, resourceGroupName As String, hostPoolName As String, sessionHostName As String, userSessionId As String, onOk As Func(Of HttpResponseMessage, Task(Of IUserSession), Task), onDefault As Func(Of HttpResponseMessage, Task(Of ICloudError), Task), eventListener As IEventListener, sender As ISendAsync) As Task

Parameters

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

Returns

Task

Applies to