2 writes to Response
Microsoft.DotNet.Helix.Client (2)
generated-code\HelixApi.cs (2)
333
Response
= new ResponseWrapper(response, responseContent);
345
Response
= JsonConvert.DeserializeObject<ResponseWrapper>(responseString, SerializerSettings);
12 references to Response
Microsoft.DotNet.Helix.Client (6)
generated-code\HelixApi.cs (1)
359
var responseString = JsonConvert.SerializeObject(
Response
, SerializerSettings);
HelixApi.cs (5)
22
exception is RestApiException raex && raex.
Response
.Status >= 500 && raex.
Response
.Status <= 599 ||
25
exception is RestApiException jobListEx && jobListEx.
Response
.Status == 400 && jobListEx.Message.Contains("Provided Job List Uri is not accessible");
33
if (ex.
Response
.Status == (int)HttpStatusCode.BadRequest)
38
content = JObject.Parse(ex.
Response
.Content);
Microsoft.DotNet.Helix.JobSender (1)
JobDefinition.cs (1)
168
catch (RestApiException ex) when (ex.
Response
?.Status == 404)
Microsoft.DotNet.Helix.Sdk (5)
CancelHelixJob.cs (2)
59
catch (RestApiException e) when (e.
Response
.Status == 304)
64
catch (RestApiException e) when (e.
Response
.Status == 404)
HelixTask.cs (2)
63
catch (RestApiException ex) when (ex.
Response
.Status == (int)HttpStatusCode.Unauthorized)
67
catch (RestApiException ex) when (ex.
Response
.Status == (int)HttpStatusCode.Forbidden)
WaitForHelixJobCompletion.cs (1)
93
catch (RestApiException checkIfAlreadyCancelled) when (checkIfAlreadyCancelled.
Response
.Status == 304)