Implemented interface member:
property
Client
Microsoft.DotNet.Helix.Client.IServiceOperations<T>.Client
1 write to Client
Microsoft.DotNet.Helix.Client (1)
generated-code\Telemetry.cs (1)
88Client = client ?? throw new ArgumentNullException(nameof(client));
74 references to Client
Microsoft.DotNet.Helix.Client (74)
generated-code\Telemetry.cs (74)
115var _baseUri = Client.Options.BaseUri; 122_url.AppendQuery("api-version", Client.Serialize(apiVersion)); 125using (var _req = Client.Pipeline.CreateRequest()) 132_req.Content = RequestContent.Create(Encoding.UTF8.GetBytes(Client.Serialize(body))); 136using (var _res = await Client.SendAsync(_req, cancellationToken).ConfigureAwait(false)) 151var _body = Client.Deserialize<string>(_content); 173Client.Deserialize<Models.ApiError>(content) 177Client.OnFailedRequest(ex); 202var _baseUri = Client.Options.BaseUri; 211_url.AppendQuery("buildUri", Client.Serialize(buildUri)); 213_url.AppendQuery("api-version", Client.Serialize(apiVersion)); 216using (var _req = Client.Pipeline.CreateRequest()) 226using (var _res = await Client.SendAsync(_req, cancellationToken).ConfigureAwait(false)) 241var _body = Client.Deserialize<string>(_content); 263Client.Deserialize<Models.ApiError>(content) 267Client.OnFailedRequest(ex); 295var _baseUri = Client.Options.BaseUri; 299"/api/telemetry/job/build/{id}/finish".Replace("{id}", Uri.EscapeDataString(Client.Serialize(id))), 304_url.AppendQuery("errorCount", Client.Serialize(errorCount)); 308_url.AppendQuery("warningCount", Client.Serialize(warningCount)); 312_url.AppendQuery("logUri", Client.Serialize(logUri)); 314_url.AppendQuery("api-version", Client.Serialize(apiVersion)); 317using (var _req = Client.Pipeline.CreateRequest()) 327using (var _res = await Client.SendAsync(_req, cancellationToken).ConfigureAwait(false)) 355Client.Deserialize<Models.ApiError>(content) 359Client.OnFailedRequest(ex); 384var _baseUri = Client.Options.BaseUri; 393_url.AppendQuery("friendlyName", Client.Serialize(friendlyName)); 395_url.AppendQuery("api-version", Client.Serialize(apiVersion)); 398using (var _req = Client.Pipeline.CreateRequest()) 408using (var _res = await Client.SendAsync(_req, cancellationToken).ConfigureAwait(false)) 423var _body = Client.Deserialize<string>(_content); 445Client.Deserialize<Models.ApiError>(content) 449Client.OnFailedRequest(ex); 482var _baseUri = Client.Options.BaseUri; 486"/api/telemetry/job/xunit/{id}/finish".Replace("{id}", Uri.EscapeDataString(Client.Serialize(id))), 491_url.AppendQuery("exitCode", Client.Serialize(exitCode)); 495_url.AppendQuery("resultsXmlUri", Client.Serialize(resultsXmlUri)); 499_url.AppendQuery("logUri", Client.Serialize(logUri)); 501_url.AppendQuery("api-version", Client.Serialize(apiVersion)); 504using (var _req = Client.Pipeline.CreateRequest()) 514using (var _res = await Client.SendAsync(_req, cancellationToken).ConfigureAwait(false)) 542Client.Deserialize<Models.ApiError>(content) 546Client.OnFailedRequest(ex); 579var _baseUri = Client.Options.BaseUri; 583"/api/telemetry/job/workitem/{id}/warning".Replace("{id}", Uri.EscapeDataString(Client.Serialize(id))), 588_url.AppendQuery("eid", Client.Serialize(eid)); 592_url.AppendQuery("message", Client.Serialize(message)); 596_url.AppendQuery("logUri", Client.Serialize(logUri)); 598_url.AppendQuery("api-version", Client.Serialize(apiVersion)); 601using (var _req = Client.Pipeline.CreateRequest()) 611using (var _res = await Client.SendAsync(_req, cancellationToken).ConfigureAwait(false)) 639Client.Deserialize<Models.ApiError>(content) 643Client.OnFailedRequest(ex); 676var _baseUri = Client.Options.BaseUri; 680"/api/telemetry/job/workitem/{id}/error".Replace("{id}", Uri.EscapeDataString(Client.Serialize(id))), 685_url.AppendQuery("eid", Client.Serialize(eid)); 689_url.AppendQuery("message", Client.Serialize(message)); 693_url.AppendQuery("logUri", Client.Serialize(logUri)); 695_url.AppendQuery("api-version", Client.Serialize(apiVersion)); 698using (var _req = Client.Pipeline.CreateRequest()) 708using (var _res = await Client.SendAsync(_req, cancellationToken).ConfigureAwait(false)) 736Client.Deserialize<Models.ApiError>(content) 740Client.OnFailedRequest(ex); 773var _baseUri = Client.Options.BaseUri; 777"/api/telemetry/job/workitem/{id}/log".Replace("{id}", Uri.EscapeDataString(Client.Serialize(id))), 782_url.AppendQuery("logUri", Client.Serialize(logUri)); 786_url.AppendQuery("format", Client.Serialize(format)); 790_url.AppendQuery("module", Client.Serialize(module)); 792_url.AppendQuery("api-version", Client.Serialize(apiVersion)); 795using (var _req = Client.Pipeline.CreateRequest()) 805using (var _res = await Client.SendAsync(_req, cancellationToken).ConfigureAwait(false)) 833Client.Deserialize<Models.ApiError>(content) 837Client.OnFailedRequest(ex);