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)
88
Client
= client ?? throw new ArgumentNullException(nameof(client));
74 references to Client
Microsoft.DotNet.Helix.Client (74)
generated-code\Telemetry.cs (74)
115
var _baseUri =
Client
.Options.BaseUri;
122
_url.AppendQuery("api-version",
Client
.Serialize(apiVersion));
125
using (var _req =
Client
.Pipeline.CreateRequest())
132
_req.Content = RequestContent.Create(Encoding.UTF8.GetBytes(
Client
.Serialize(body)));
136
using (var _res = await
Client
.SendAsync(_req, cancellationToken).ConfigureAwait(false))
151
var _body =
Client
.Deserialize<string>(_content);
173
Client
.Deserialize<Models.ApiError>(content)
177
Client
.OnFailedRequest(ex);
202
var _baseUri =
Client
.Options.BaseUri;
211
_url.AppendQuery("buildUri",
Client
.Serialize(buildUri));
213
_url.AppendQuery("api-version",
Client
.Serialize(apiVersion));
216
using (var _req =
Client
.Pipeline.CreateRequest())
226
using (var _res = await
Client
.SendAsync(_req, cancellationToken).ConfigureAwait(false))
241
var _body =
Client
.Deserialize<string>(_content);
263
Client
.Deserialize<Models.ApiError>(content)
267
Client
.OnFailedRequest(ex);
295
var _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));
317
using (var _req =
Client
.Pipeline.CreateRequest())
327
using (var _res = await
Client
.SendAsync(_req, cancellationToken).ConfigureAwait(false))
355
Client
.Deserialize<Models.ApiError>(content)
359
Client
.OnFailedRequest(ex);
384
var _baseUri =
Client
.Options.BaseUri;
393
_url.AppendQuery("friendlyName",
Client
.Serialize(friendlyName));
395
_url.AppendQuery("api-version",
Client
.Serialize(apiVersion));
398
using (var _req =
Client
.Pipeline.CreateRequest())
408
using (var _res = await
Client
.SendAsync(_req, cancellationToken).ConfigureAwait(false))
423
var _body =
Client
.Deserialize<string>(_content);
445
Client
.Deserialize<Models.ApiError>(content)
449
Client
.OnFailedRequest(ex);
482
var _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));
504
using (var _req =
Client
.Pipeline.CreateRequest())
514
using (var _res = await
Client
.SendAsync(_req, cancellationToken).ConfigureAwait(false))
542
Client
.Deserialize<Models.ApiError>(content)
546
Client
.OnFailedRequest(ex);
579
var _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));
601
using (var _req =
Client
.Pipeline.CreateRequest())
611
using (var _res = await
Client
.SendAsync(_req, cancellationToken).ConfigureAwait(false))
639
Client
.Deserialize<Models.ApiError>(content)
643
Client
.OnFailedRequest(ex);
676
var _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));
698
using (var _req =
Client
.Pipeline.CreateRequest())
708
using (var _res = await
Client
.SendAsync(_req, cancellationToken).ConfigureAwait(false))
736
Client
.Deserialize<Models.ApiError>(content)
740
Client
.OnFailedRequest(ex);
773
var _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));
795
using (var _req =
Client
.Pipeline.CreateRequest())
805
using (var _res = await
Client
.SendAsync(_req, cancellationToken).ConfigureAwait(false))
833
Client
.Deserialize<Models.ApiError>(content)
837
Client
.OnFailedRequest(ex);