RemoteRenderingClient.GetCurrentRenderingSessionsAsync 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.
Queries for all existing rendering sessions for the account associated with this client.
public:
System::Threading::Tasks::Task<Microsoft::Azure::RemoteRendering::RenderingSessionPropertiesArrayResult ^> ^ GetCurrentRenderingSessionsAsync();
public System.Threading.Tasks.Task<Microsoft.Azure.RemoteRendering.RenderingSessionPropertiesArrayResult> GetCurrentRenderingSessionsAsync ();
member this.GetCurrentRenderingSessionsAsync : unit -> System.Threading.Tasks.Task<Microsoft.Azure.RemoteRendering.RenderingSessionPropertiesArrayResult>
Public Function GetCurrentRenderingSessionsAsync () As Task(Of RenderingSessionPropertiesArrayResult)
Returns
Remarks
Since the underlying call is a REST call, there should be sufficient delay (5-10s) between subsequent calls to avoid server throttling. In case of throttling, the function will fail and the HttpResponseCode reports code 429 ("too many requests").