File tree Expand file tree Collapse file tree 1 file changed +2
-19
lines changed Expand file tree Collapse file tree 1 file changed +2
-19
lines changed Original file line number Diff line number Diff line change @@ -379,6 +379,8 @@ private void FlushDebugMessages(bool record = false)
379
379
}
380
380
}
381
381
382
+ protected abstract void InitializeQosEvent ( ) ;
383
+
382
384
private void RecordDebugMessages ( )
383
385
{
384
386
// Create 'ErrorRecords' folder under profile directory, if not exists
@@ -416,25 +418,6 @@ private void RecordDebugMessages()
416
418
AzureSession . DataStore . WriteFile ( filePath , sb . ToString ( ) ) ;
417
419
}
418
420
419
- protected void InitializeQosEvent ( )
420
- {
421
- QosEvent = new AzurePSQoSEvent ( )
422
- {
423
- CmdletType = this . GetType ( ) . Name ,
424
- IsSuccess = true ,
425
- } ;
426
-
427
- if ( this . Profile != null && this . Profile . DefaultSubscription != null )
428
- {
429
- QosEvent . Uid = MetricHelper . GenerateSha256HashString (
430
- this . Profile . DefaultSubscription . Id . ToString ( ) ) ;
431
- }
432
- else
433
- {
434
- QosEvent . Uid = "defaultid" ;
435
- }
436
- }
437
-
438
421
/// <summary>
439
422
/// Invoke this method when the cmdlet is completed or terminated.
440
423
/// </summary>
You can’t perform that action at this time.
0 commit comments