/// <inheritdoc /> public override Response UpdateStatus(CancellationToken cancellationToken = default) { if (!HasCompleted) { _response = _client.GetSessionInternal(_response.Value.SessionId, $"{nameof(StartRenderingSessionOperation)}.{nameof(UpdateStatus)}", cancellationToken); } return(_response.GetRawResponse()); }
/// <summary> /// Construct a StartSessionOperation from a session which already exists. /// </summary> /// <param name="sessionId"></param> /// <param name="client"></param> public StartRenderingSessionOperation(string sessionId, RemoteRenderingClient client) { _client = client; _response = client.GetSessionInternal(sessionId, $"{nameof(StartRenderingSessionOperation)}.{nameof(StartRenderingSessionOperation)}"); }