RemoteRenderingClient.GetCurrentRenderingSessionsAsync Method

Definition

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").

Applies to