DesktopVirtualizationClient.UserSessionsGet Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
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
- onOk
- Func<HttpResponseMessage,Task<IUserSession>,Task>
- onDefault
- Func<HttpResponseMessage,Task<ICloudError>,Task>
- eventListener
- IEventListener
- sender
- ISendAsync
Returns
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
- onOk
- Func<HttpResponseMessage,Task<IUserSession>,Task>
- onDefault
- Func<HttpResponseMessage,Task<ICloudError>,Task>
- eventListener
- IEventListener
- sender
- ISendAsync