| | 1 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | 2 | | // Licensed under the MIT License. |
| | 3 | |
|
| | 4 | | // <auto-generated/> |
| | 5 | |
|
| | 6 | | #nullable disable |
| | 7 | |
|
| | 8 | | using System; |
| | 9 | | using System.Threading; |
| | 10 | | using System.Threading.Tasks; |
| | 11 | | using Azure; |
| | 12 | | using Azure.Core; |
| | 13 | | using Azure.Core.Pipeline; |
| | 14 | | using Azure.ResourceManager.Network.Models; |
| | 15 | |
|
| | 16 | | namespace Azure.ResourceManager.Network |
| | 17 | | { |
| | 18 | | /// <summary> The AzureFirewalls service client. </summary> |
| | 19 | | public partial class AzureFirewallsOperations |
| | 20 | | { |
| | 21 | | private readonly ClientDiagnostics _clientDiagnostics; |
| | 22 | | private readonly HttpPipeline _pipeline; |
| 0 | 23 | | internal AzureFirewallsRestOperations RestClient { get; } |
| | 24 | | /// <summary> Initializes a new instance of AzureFirewallsOperations for mocking. </summary> |
| 0 | 25 | | protected AzureFirewallsOperations() |
| | 26 | | { |
| 0 | 27 | | } |
| | 28 | | /// <summary> Initializes a new instance of AzureFirewallsOperations. </summary> |
| | 29 | | /// <param name="clientDiagnostics"> The handler for diagnostic messaging in the client. </param> |
| | 30 | | /// <param name="pipeline"> The HTTP pipeline for sending and receiving REST requests and responses. </param> |
| | 31 | | /// <param name="subscriptionId"> The subscription credentials which uniquely identify the Microsoft Azure subsc |
| | 32 | | /// <param name="endpoint"> server parameter. </param> |
| 0 | 33 | | internal AzureFirewallsOperations(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string subscriptio |
| | 34 | | { |
| 0 | 35 | | RestClient = new AzureFirewallsRestOperations(clientDiagnostics, pipeline, subscriptionId, endpoint); |
| 0 | 36 | | _clientDiagnostics = clientDiagnostics; |
| 0 | 37 | | _pipeline = pipeline; |
| 0 | 38 | | } |
| | 39 | |
|
| | 40 | | /// <summary> Gets the specified Azure Firewall. </summary> |
| | 41 | | /// <param name="resourceGroupName"> The name of the resource group. </param> |
| | 42 | | /// <param name="azureFirewallName"> The name of the Azure Firewall. </param> |
| | 43 | | /// <param name="cancellationToken"> The cancellation token to use. </param> |
| | 44 | | public virtual async Task<Response<AzureFirewall>> GetAsync(string resourceGroupName, string azureFirewallName, |
| | 45 | | { |
| 0 | 46 | | using var scope = _clientDiagnostics.CreateScope("AzureFirewallsOperations.Get"); |
| 0 | 47 | | scope.Start(); |
| | 48 | | try |
| | 49 | | { |
| 0 | 50 | | return await RestClient.GetAsync(resourceGroupName, azureFirewallName, cancellationToken).ConfigureAwait |
| | 51 | | } |
| 0 | 52 | | catch (Exception e) |
| | 53 | | { |
| 0 | 54 | | scope.Failed(e); |
| 0 | 55 | | throw; |
| | 56 | | } |
| 0 | 57 | | } |
| | 58 | |
|
| | 59 | | /// <summary> Gets the specified Azure Firewall. </summary> |
| | 60 | | /// <param name="resourceGroupName"> The name of the resource group. </param> |
| | 61 | | /// <param name="azureFirewallName"> The name of the Azure Firewall. </param> |
| | 62 | | /// <param name="cancellationToken"> The cancellation token to use. </param> |
| | 63 | | public virtual Response<AzureFirewall> Get(string resourceGroupName, string azureFirewallName, CancellationToken |
| | 64 | | { |
| 0 | 65 | | using var scope = _clientDiagnostics.CreateScope("AzureFirewallsOperations.Get"); |
| 0 | 66 | | scope.Start(); |
| | 67 | | try |
| | 68 | | { |
| 0 | 69 | | return RestClient.Get(resourceGroupName, azureFirewallName, cancellationToken); |
| | 70 | | } |
| 0 | 71 | | catch (Exception e) |
| | 72 | | { |
| 0 | 73 | | scope.Failed(e); |
| 0 | 74 | | throw; |
| | 75 | | } |
| 0 | 76 | | } |
| | 77 | |
|
| | 78 | | /// <summary> Lists all Azure Firewalls in a resource group. </summary> |
| | 79 | | /// <param name="resourceGroupName"> The name of the resource group. </param> |
| | 80 | | /// <param name="cancellationToken"> The cancellation token to use. </param> |
| | 81 | | public virtual AsyncPageable<AzureFirewall> ListAsync(string resourceGroupName, CancellationToken cancellationTo |
| | 82 | | { |
| 0 | 83 | | if (resourceGroupName == null) |
| | 84 | | { |
| 0 | 85 | | throw new ArgumentNullException(nameof(resourceGroupName)); |
| | 86 | | } |
| | 87 | |
|
| | 88 | | async Task<Page<AzureFirewall>> FirstPageFunc(int? pageSizeHint) |
| | 89 | | { |
| 0 | 90 | | using var scope = _clientDiagnostics.CreateScope("AzureFirewallsOperations.List"); |
| 0 | 91 | | scope.Start(); |
| | 92 | | try |
| | 93 | | { |
| 0 | 94 | | var response = await RestClient.ListAsync(resourceGroupName, cancellationToken).ConfigureAwait(false |
| 0 | 95 | | return Page.FromValues(response.Value.Value, response.Value.NextLink, response.GetRawResponse()); |
| | 96 | | } |
| 0 | 97 | | catch (Exception e) |
| | 98 | | { |
| 0 | 99 | | scope.Failed(e); |
| 0 | 100 | | throw; |
| | 101 | | } |
| 0 | 102 | | } |
| | 103 | | async Task<Page<AzureFirewall>> NextPageFunc(string nextLink, int? pageSizeHint) |
| | 104 | | { |
| 0 | 105 | | using var scope = _clientDiagnostics.CreateScope("AzureFirewallsOperations.List"); |
| 0 | 106 | | scope.Start(); |
| | 107 | | try |
| | 108 | | { |
| 0 | 109 | | var response = await RestClient.ListNextPageAsync(nextLink, resourceGroupName, cancellationToken).Co |
| 0 | 110 | | return Page.FromValues(response.Value.Value, response.Value.NextLink, response.GetRawResponse()); |
| | 111 | | } |
| 0 | 112 | | catch (Exception e) |
| | 113 | | { |
| 0 | 114 | | scope.Failed(e); |
| 0 | 115 | | throw; |
| | 116 | | } |
| 0 | 117 | | } |
| 0 | 118 | | return PageableHelpers.CreateAsyncEnumerable(FirstPageFunc, NextPageFunc); |
| | 119 | | } |
| | 120 | |
|
| | 121 | | /// <summary> Lists all Azure Firewalls in a resource group. </summary> |
| | 122 | | /// <param name="resourceGroupName"> The name of the resource group. </param> |
| | 123 | | /// <param name="cancellationToken"> The cancellation token to use. </param> |
| | 124 | | public virtual Pageable<AzureFirewall> List(string resourceGroupName, CancellationToken cancellationToken = defa |
| | 125 | | { |
| 0 | 126 | | if (resourceGroupName == null) |
| | 127 | | { |
| 0 | 128 | | throw new ArgumentNullException(nameof(resourceGroupName)); |
| | 129 | | } |
| | 130 | |
|
| | 131 | | Page<AzureFirewall> FirstPageFunc(int? pageSizeHint) |
| | 132 | | { |
| 0 | 133 | | using var scope = _clientDiagnostics.CreateScope("AzureFirewallsOperations.List"); |
| 0 | 134 | | scope.Start(); |
| | 135 | | try |
| | 136 | | { |
| 0 | 137 | | var response = RestClient.List(resourceGroupName, cancellationToken); |
| 0 | 138 | | return Page.FromValues(response.Value.Value, response.Value.NextLink, response.GetRawResponse()); |
| | 139 | | } |
| 0 | 140 | | catch (Exception e) |
| | 141 | | { |
| 0 | 142 | | scope.Failed(e); |
| 0 | 143 | | throw; |
| | 144 | | } |
| 0 | 145 | | } |
| | 146 | | Page<AzureFirewall> NextPageFunc(string nextLink, int? pageSizeHint) |
| | 147 | | { |
| 0 | 148 | | using var scope = _clientDiagnostics.CreateScope("AzureFirewallsOperations.List"); |
| 0 | 149 | | scope.Start(); |
| | 150 | | try |
| | 151 | | { |
| 0 | 152 | | var response = RestClient.ListNextPage(nextLink, resourceGroupName, cancellationToken); |
| 0 | 153 | | return Page.FromValues(response.Value.Value, response.Value.NextLink, response.GetRawResponse()); |
| | 154 | | } |
| 0 | 155 | | catch (Exception e) |
| | 156 | | { |
| 0 | 157 | | scope.Failed(e); |
| 0 | 158 | | throw; |
| | 159 | | } |
| 0 | 160 | | } |
| 0 | 161 | | return PageableHelpers.CreateEnumerable(FirstPageFunc, NextPageFunc); |
| | 162 | | } |
| | 163 | |
|
| | 164 | | /// <summary> Gets all the Azure Firewalls in a subscription. </summary> |
| | 165 | | /// <param name="cancellationToken"> The cancellation token to use. </param> |
| | 166 | | public virtual AsyncPageable<AzureFirewall> ListAllAsync(CancellationToken cancellationToken = default) |
| | 167 | | { |
| | 168 | | async Task<Page<AzureFirewall>> FirstPageFunc(int? pageSizeHint) |
| | 169 | | { |
| 0 | 170 | | using var scope = _clientDiagnostics.CreateScope("AzureFirewallsOperations.ListAll"); |
| 0 | 171 | | scope.Start(); |
| | 172 | | try |
| | 173 | | { |
| 0 | 174 | | var response = await RestClient.ListAllAsync(cancellationToken).ConfigureAwait(false); |
| 0 | 175 | | return Page.FromValues(response.Value.Value, response.Value.NextLink, response.GetRawResponse()); |
| | 176 | | } |
| 0 | 177 | | catch (Exception e) |
| | 178 | | { |
| 0 | 179 | | scope.Failed(e); |
| 0 | 180 | | throw; |
| | 181 | | } |
| 0 | 182 | | } |
| | 183 | | async Task<Page<AzureFirewall>> NextPageFunc(string nextLink, int? pageSizeHint) |
| | 184 | | { |
| 0 | 185 | | using var scope = _clientDiagnostics.CreateScope("AzureFirewallsOperations.ListAll"); |
| 0 | 186 | | scope.Start(); |
| | 187 | | try |
| | 188 | | { |
| 0 | 189 | | var response = await RestClient.ListAllNextPageAsync(nextLink, cancellationToken).ConfigureAwait(fal |
| 0 | 190 | | return Page.FromValues(response.Value.Value, response.Value.NextLink, response.GetRawResponse()); |
| | 191 | | } |
| 0 | 192 | | catch (Exception e) |
| | 193 | | { |
| 0 | 194 | | scope.Failed(e); |
| 0 | 195 | | throw; |
| | 196 | | } |
| 0 | 197 | | } |
| 0 | 198 | | return PageableHelpers.CreateAsyncEnumerable(FirstPageFunc, NextPageFunc); |
| | 199 | | } |
| | 200 | |
|
| | 201 | | /// <summary> Gets all the Azure Firewalls in a subscription. </summary> |
| | 202 | | /// <param name="cancellationToken"> The cancellation token to use. </param> |
| | 203 | | public virtual Pageable<AzureFirewall> ListAll(CancellationToken cancellationToken = default) |
| | 204 | | { |
| | 205 | | Page<AzureFirewall> FirstPageFunc(int? pageSizeHint) |
| | 206 | | { |
| 0 | 207 | | using var scope = _clientDiagnostics.CreateScope("AzureFirewallsOperations.ListAll"); |
| 0 | 208 | | scope.Start(); |
| | 209 | | try |
| | 210 | | { |
| 0 | 211 | | var response = RestClient.ListAll(cancellationToken); |
| 0 | 212 | | return Page.FromValues(response.Value.Value, response.Value.NextLink, response.GetRawResponse()); |
| | 213 | | } |
| 0 | 214 | | catch (Exception e) |
| | 215 | | { |
| 0 | 216 | | scope.Failed(e); |
| 0 | 217 | | throw; |
| | 218 | | } |
| 0 | 219 | | } |
| | 220 | | Page<AzureFirewall> NextPageFunc(string nextLink, int? pageSizeHint) |
| | 221 | | { |
| 0 | 222 | | using var scope = _clientDiagnostics.CreateScope("AzureFirewallsOperations.ListAll"); |
| 0 | 223 | | scope.Start(); |
| | 224 | | try |
| | 225 | | { |
| 0 | 226 | | var response = RestClient.ListAllNextPage(nextLink, cancellationToken); |
| 0 | 227 | | return Page.FromValues(response.Value.Value, response.Value.NextLink, response.GetRawResponse()); |
| | 228 | | } |
| 0 | 229 | | catch (Exception e) |
| | 230 | | { |
| 0 | 231 | | scope.Failed(e); |
| 0 | 232 | | throw; |
| | 233 | | } |
| 0 | 234 | | } |
| 0 | 235 | | return PageableHelpers.CreateEnumerable(FirstPageFunc, NextPageFunc); |
| | 236 | | } |
| | 237 | |
|
| | 238 | | /// <summary> Deletes the specified Azure Firewall. </summary> |
| | 239 | | /// <param name="resourceGroupName"> The name of the resource group. </param> |
| | 240 | | /// <param name="azureFirewallName"> The name of the Azure Firewall. </param> |
| | 241 | | /// <param name="cancellationToken"> The cancellation token to use. </param> |
| | 242 | | public virtual async Task<AzureFirewallsDeleteOperation> StartDeleteAsync(string resourceGroupName, string azure |
| | 243 | | { |
| 0 | 244 | | if (resourceGroupName == null) |
| | 245 | | { |
| 0 | 246 | | throw new ArgumentNullException(nameof(resourceGroupName)); |
| | 247 | | } |
| 0 | 248 | | if (azureFirewallName == null) |
| | 249 | | { |
| 0 | 250 | | throw new ArgumentNullException(nameof(azureFirewallName)); |
| | 251 | | } |
| | 252 | |
|
| 0 | 253 | | using var scope = _clientDiagnostics.CreateScope("AzureFirewallsOperations.StartDelete"); |
| 0 | 254 | | scope.Start(); |
| | 255 | | try |
| | 256 | | { |
| 0 | 257 | | var originalResponse = await RestClient.DeleteAsync(resourceGroupName, azureFirewallName, cancellationTo |
| 0 | 258 | | return new AzureFirewallsDeleteOperation(_clientDiagnostics, _pipeline, RestClient.CreateDeleteRequest(r |
| | 259 | | } |
| 0 | 260 | | catch (Exception e) |
| | 261 | | { |
| 0 | 262 | | scope.Failed(e); |
| 0 | 263 | | throw; |
| | 264 | | } |
| 0 | 265 | | } |
| | 266 | |
|
| | 267 | | /// <summary> Deletes the specified Azure Firewall. </summary> |
| | 268 | | /// <param name="resourceGroupName"> The name of the resource group. </param> |
| | 269 | | /// <param name="azureFirewallName"> The name of the Azure Firewall. </param> |
| | 270 | | /// <param name="cancellationToken"> The cancellation token to use. </param> |
| | 271 | | public virtual AzureFirewallsDeleteOperation StartDelete(string resourceGroupName, string azureFirewallName, Can |
| | 272 | | { |
| 0 | 273 | | if (resourceGroupName == null) |
| | 274 | | { |
| 0 | 275 | | throw new ArgumentNullException(nameof(resourceGroupName)); |
| | 276 | | } |
| 0 | 277 | | if (azureFirewallName == null) |
| | 278 | | { |
| 0 | 279 | | throw new ArgumentNullException(nameof(azureFirewallName)); |
| | 280 | | } |
| | 281 | |
|
| 0 | 282 | | using var scope = _clientDiagnostics.CreateScope("AzureFirewallsOperations.StartDelete"); |
| 0 | 283 | | scope.Start(); |
| | 284 | | try |
| | 285 | | { |
| 0 | 286 | | var originalResponse = RestClient.Delete(resourceGroupName, azureFirewallName, cancellationToken); |
| 0 | 287 | | return new AzureFirewallsDeleteOperation(_clientDiagnostics, _pipeline, RestClient.CreateDeleteRequest(r |
| | 288 | | } |
| 0 | 289 | | catch (Exception e) |
| | 290 | | { |
| 0 | 291 | | scope.Failed(e); |
| 0 | 292 | | throw; |
| | 293 | | } |
| 0 | 294 | | } |
| | 295 | |
|
| | 296 | | /// <summary> Creates or updates the specified Azure Firewall. </summary> |
| | 297 | | /// <param name="resourceGroupName"> The name of the resource group. </param> |
| | 298 | | /// <param name="azureFirewallName"> The name of the Azure Firewall. </param> |
| | 299 | | /// <param name="parameters"> Parameters supplied to the create or update Azure Firewall operation. </param> |
| | 300 | | /// <param name="cancellationToken"> The cancellation token to use. </param> |
| | 301 | | public virtual async Task<AzureFirewallsCreateOrUpdateOperation> StartCreateOrUpdateAsync(string resourceGroupNa |
| | 302 | | { |
| 0 | 303 | | if (resourceGroupName == null) |
| | 304 | | { |
| 0 | 305 | | throw new ArgumentNullException(nameof(resourceGroupName)); |
| | 306 | | } |
| 0 | 307 | | if (azureFirewallName == null) |
| | 308 | | { |
| 0 | 309 | | throw new ArgumentNullException(nameof(azureFirewallName)); |
| | 310 | | } |
| 0 | 311 | | if (parameters == null) |
| | 312 | | { |
| 0 | 313 | | throw new ArgumentNullException(nameof(parameters)); |
| | 314 | | } |
| | 315 | |
|
| 0 | 316 | | using var scope = _clientDiagnostics.CreateScope("AzureFirewallsOperations.StartCreateOrUpdate"); |
| 0 | 317 | | scope.Start(); |
| | 318 | | try |
| | 319 | | { |
| 0 | 320 | | var originalResponse = await RestClient.CreateOrUpdateAsync(resourceGroupName, azureFirewallName, parame |
| 0 | 321 | | return new AzureFirewallsCreateOrUpdateOperation(_clientDiagnostics, _pipeline, RestClient.CreateCreateO |
| | 322 | | } |
| 0 | 323 | | catch (Exception e) |
| | 324 | | { |
| 0 | 325 | | scope.Failed(e); |
| 0 | 326 | | throw; |
| | 327 | | } |
| 0 | 328 | | } |
| | 329 | |
|
| | 330 | | /// <summary> Creates or updates the specified Azure Firewall. </summary> |
| | 331 | | /// <param name="resourceGroupName"> The name of the resource group. </param> |
| | 332 | | /// <param name="azureFirewallName"> The name of the Azure Firewall. </param> |
| | 333 | | /// <param name="parameters"> Parameters supplied to the create or update Azure Firewall operation. </param> |
| | 334 | | /// <param name="cancellationToken"> The cancellation token to use. </param> |
| | 335 | | public virtual AzureFirewallsCreateOrUpdateOperation StartCreateOrUpdate(string resourceGroupName, string azureF |
| | 336 | | { |
| 0 | 337 | | if (resourceGroupName == null) |
| | 338 | | { |
| 0 | 339 | | throw new ArgumentNullException(nameof(resourceGroupName)); |
| | 340 | | } |
| 0 | 341 | | if (azureFirewallName == null) |
| | 342 | | { |
| 0 | 343 | | throw new ArgumentNullException(nameof(azureFirewallName)); |
| | 344 | | } |
| 0 | 345 | | if (parameters == null) |
| | 346 | | { |
| 0 | 347 | | throw new ArgumentNullException(nameof(parameters)); |
| | 348 | | } |
| | 349 | |
|
| 0 | 350 | | using var scope = _clientDiagnostics.CreateScope("AzureFirewallsOperations.StartCreateOrUpdate"); |
| 0 | 351 | | scope.Start(); |
| | 352 | | try |
| | 353 | | { |
| 0 | 354 | | var originalResponse = RestClient.CreateOrUpdate(resourceGroupName, azureFirewallName, parameters, cance |
| 0 | 355 | | return new AzureFirewallsCreateOrUpdateOperation(_clientDiagnostics, _pipeline, RestClient.CreateCreateO |
| | 356 | | } |
| 0 | 357 | | catch (Exception e) |
| | 358 | | { |
| 0 | 359 | | scope.Failed(e); |
| 0 | 360 | | throw; |
| | 361 | | } |
| 0 | 362 | | } |
| | 363 | |
|
| | 364 | | /// <summary> Updates tags of an Azure Firewall resource. </summary> |
| | 365 | | /// <param name="resourceGroupName"> The name of the resource group. </param> |
| | 366 | | /// <param name="azureFirewallName"> The name of the Azure Firewall. </param> |
| | 367 | | /// <param name="parameters"> Parameters supplied to update azure firewall tags. </param> |
| | 368 | | /// <param name="cancellationToken"> The cancellation token to use. </param> |
| | 369 | | public virtual async Task<AzureFirewallsUpdateTagsOperation> StartUpdateTagsAsync(string resourceGroupName, stri |
| | 370 | | { |
| 0 | 371 | | if (resourceGroupName == null) |
| | 372 | | { |
| 0 | 373 | | throw new ArgumentNullException(nameof(resourceGroupName)); |
| | 374 | | } |
| 0 | 375 | | if (azureFirewallName == null) |
| | 376 | | { |
| 0 | 377 | | throw new ArgumentNullException(nameof(azureFirewallName)); |
| | 378 | | } |
| 0 | 379 | | if (parameters == null) |
| | 380 | | { |
| 0 | 381 | | throw new ArgumentNullException(nameof(parameters)); |
| | 382 | | } |
| | 383 | |
|
| 0 | 384 | | using var scope = _clientDiagnostics.CreateScope("AzureFirewallsOperations.StartUpdateTags"); |
| 0 | 385 | | scope.Start(); |
| | 386 | | try |
| | 387 | | { |
| 0 | 388 | | var originalResponse = await RestClient.UpdateTagsAsync(resourceGroupName, azureFirewallName, parameters |
| 0 | 389 | | return new AzureFirewallsUpdateTagsOperation(_clientDiagnostics, _pipeline, RestClient.CreateUpdateTagsR |
| | 390 | | } |
| 0 | 391 | | catch (Exception e) |
| | 392 | | { |
| 0 | 393 | | scope.Failed(e); |
| 0 | 394 | | throw; |
| | 395 | | } |
| 0 | 396 | | } |
| | 397 | |
|
| | 398 | | /// <summary> Updates tags of an Azure Firewall resource. </summary> |
| | 399 | | /// <param name="resourceGroupName"> The name of the resource group. </param> |
| | 400 | | /// <param name="azureFirewallName"> The name of the Azure Firewall. </param> |
| | 401 | | /// <param name="parameters"> Parameters supplied to update azure firewall tags. </param> |
| | 402 | | /// <param name="cancellationToken"> The cancellation token to use. </param> |
| | 403 | | public virtual AzureFirewallsUpdateTagsOperation StartUpdateTags(string resourceGroupName, string azureFirewallN |
| | 404 | | { |
| 0 | 405 | | if (resourceGroupName == null) |
| | 406 | | { |
| 0 | 407 | | throw new ArgumentNullException(nameof(resourceGroupName)); |
| | 408 | | } |
| 0 | 409 | | if (azureFirewallName == null) |
| | 410 | | { |
| 0 | 411 | | throw new ArgumentNullException(nameof(azureFirewallName)); |
| | 412 | | } |
| 0 | 413 | | if (parameters == null) |
| | 414 | | { |
| 0 | 415 | | throw new ArgumentNullException(nameof(parameters)); |
| | 416 | | } |
| | 417 | |
|
| 0 | 418 | | using var scope = _clientDiagnostics.CreateScope("AzureFirewallsOperations.StartUpdateTags"); |
| 0 | 419 | | scope.Start(); |
| | 420 | | try |
| | 421 | | { |
| 0 | 422 | | var originalResponse = RestClient.UpdateTags(resourceGroupName, azureFirewallName, parameters, cancellat |
| 0 | 423 | | return new AzureFirewallsUpdateTagsOperation(_clientDiagnostics, _pipeline, RestClient.CreateUpdateTagsR |
| | 424 | | } |
| 0 | 425 | | catch (Exception e) |
| | 426 | | { |
| 0 | 427 | | scope.Failed(e); |
| 0 | 428 | | throw; |
| | 429 | | } |
| 0 | 430 | | } |
| | 431 | | } |
| | 432 | | } |