File size: 44,795 Bytes
8c763fb
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

#if !UNIX
using System.Diagnostics.CodeAnalysis;
using System.Diagnostics.Eventing;

namespace System.Management.Automation.Tracing
{
    /// <summary>
    /// Tracer.
    /// </summary>
    public sealed partial class Tracer : EtwActivity
    {
        /// <summary>
        /// Critical level.
        /// </summary>
        public const byte LevelCritical = 1;
        /// <summary>
        /// Error level.
        /// </summary>
        public const byte LevelError = 2;
        /// <summary>
        /// Warning level.
        /// </summary>
        public const byte LevelWarning = 3;
        /// <summary>
        /// Informational level.
        /// </summary>
        public const byte LevelInformational = 4;
        /// <summary>
        /// Verbose level.
        /// </summary>
        public const byte LevelVerbose = 5;
        /// <summary>
        /// Keyword all.
        /// </summary>
        public const long KeywordAll = 0xFFFFFFFF;

        private static readonly EventDescriptor WriteTransferEventEvent;
        private static readonly EventDescriptor DebugMessageEvent;
        private static readonly EventDescriptor M3PAbortingWorkflowExecutionEvent;
        private static readonly EventDescriptor M3PActivityExecutionFinishedEvent;
        private static readonly EventDescriptor M3PActivityExecutionQueuedEvent;
        private static readonly EventDescriptor M3PActivityExecutionStartedEvent;
        private static readonly EventDescriptor M3PBeginContainerParentJobExecutionEvent;
        private static readonly EventDescriptor M3PBeginCreateNewJobEvent;
        private static readonly EventDescriptor M3PBeginJobLogicEvent;
        private static readonly EventDescriptor M3PBeginProxyChildJobEventHandlerEvent;
        private static readonly EventDescriptor M3PBeginProxyJobEventHandlerEvent;
        private static readonly EventDescriptor M3PBeginProxyJobExecutionEvent;
        private static readonly EventDescriptor M3PBeginRunGarbageCollectionEvent;
        private static readonly EventDescriptor M3PBeginStartWorkflowApplicationEvent;
        private static readonly EventDescriptor M3PBeginWorkflowExecutionEvent;
        private static readonly EventDescriptor M3PCancellingWorkflowExecutionEvent;
        private static readonly EventDescriptor M3PChildWorkflowJobAdditionEvent;
        private static readonly EventDescriptor M3PEndContainerParentJobExecutionEvent;
        private static readonly EventDescriptor M3PEndCreateNewJobEvent;
        private static readonly EventDescriptor M3PEndJobLogicEvent;
        private static readonly EventDescriptor M3PEndpointDisabledEvent;
        private static readonly EventDescriptor M3PEndpointEnabledEvent;
        private static readonly EventDescriptor M3PEndpointModifiedEvent;
        private static readonly EventDescriptor M3PEndpointRegisteredEvent;
        private static readonly EventDescriptor M3PEndpointUnregisteredEvent;
        private static readonly EventDescriptor M3PEndProxyChildJobEventHandlerEvent;
        private static readonly EventDescriptor M3PEndProxyJobEventHandlerEvent;
        private static readonly EventDescriptor M3PEndProxyJobExecutionEvent;
        private static readonly EventDescriptor M3PEndRunGarbageCollectionEvent;
        private static readonly EventDescriptor M3PEndStartWorkflowApplicationEvent;
        private static readonly EventDescriptor M3PEndWorkflowExecutionEvent;
        private static readonly EventDescriptor M3PErrorImportingWorkflowFromXamlEvent;
        private static readonly EventDescriptor M3PForcedWorkflowShutdownErrorEvent;
        private static readonly EventDescriptor M3PForcedWorkflowShutdownFinishedEvent;
        private static readonly EventDescriptor M3PForcedWorkflowShutdownStartedEvent;
        private static readonly EventDescriptor M3PImportedWorkflowFromXamlEvent;
        private static readonly EventDescriptor M3PImportingWorkflowFromXamlEvent;
        private static readonly EventDescriptor M3PJobCreationCompleteEvent;
        private static readonly EventDescriptor M3PJobErrorEvent;
        private static readonly EventDescriptor M3PJobRemovedEvent;
        private static readonly EventDescriptor M3PJobRemoveErrorEvent;
        private static readonly EventDescriptor M3PJobStateChangedEvent;
        private static readonly EventDescriptor M3PLoadingWorkflowForExecutionEvent;
        private static readonly EventDescriptor M3POutOfProcessRunspaceStartedEvent;
        private static readonly EventDescriptor M3PParameterSplattingWasPerformedEvent;
        private static readonly EventDescriptor M3PParentJobCreatedEvent;
        private static readonly EventDescriptor M3PPersistenceStoreMaxSizeReachedEvent;
        private static readonly EventDescriptor M3PPersistingWorkflowEvent;
        private static readonly EventDescriptor M3PProxyJobRemoteJobAssociationEvent;
        private static readonly EventDescriptor M3PRemoveJobStartedEvent;
        private static readonly EventDescriptor M3PRunspaceAvailabilityChangedEvent;
        private static readonly EventDescriptor M3PRunspaceStateChangedEvent;
        private static readonly EventDescriptor M3PTrackingGuidContainerParentJobCorrelationEvent;
        private static readonly EventDescriptor M3PUnloadingWorkflowEvent;
        private static readonly EventDescriptor M3PWorkflowActivityExecutionFailedEvent;
        private static readonly EventDescriptor M3PWorkflowActivityValidatedEvent;
        private static readonly EventDescriptor M3PWorkflowActivityValidationFailedEvent;
        private static readonly EventDescriptor M3PWorkflowCleanupPerformedEvent;
        private static readonly EventDescriptor M3PWorkflowDeletedFromDiskEvent;
        private static readonly EventDescriptor M3PWorkflowEngineStartedEvent;
        private static readonly EventDescriptor M3PWorkflowExecutionAbortedEvent;
        private static readonly EventDescriptor M3PWorkflowExecutionCancelledEvent;
        private static readonly EventDescriptor M3PWorkflowExecutionErrorEvent;
        private static readonly EventDescriptor M3PWorkflowExecutionFinishedEvent;
        private static readonly EventDescriptor M3PWorkflowExecutionStartedEvent;
        private static readonly EventDescriptor M3PWorkflowJobCreatedEvent;
        private static readonly EventDescriptor M3PWorkflowLoadedForExecutionEvent;
        private static readonly EventDescriptor M3PWorkflowLoadedFromDiskEvent;
        private static readonly EventDescriptor M3PWorkflowManagerCheckpointEvent;
        private static readonly EventDescriptor M3PWorkflowPersistedEvent;
        private static readonly EventDescriptor M3PWorkflowPluginRequestedToShutdownEvent;
        private static readonly EventDescriptor M3PWorkflowPluginRestartedEvent;
        private static readonly EventDescriptor M3PWorkflowPluginStartedEvent;
        private static readonly EventDescriptor M3PWorkflowQuotaViolatedEvent;
        private static readonly EventDescriptor M3PWorkflowResumedEvent;
        private static readonly EventDescriptor M3PWorkflowResumingEvent;
        private static readonly EventDescriptor M3PWorkflowRunspacePoolCreatedEvent;
        private static readonly EventDescriptor M3PWorkflowStateChangedEvent;
        private static readonly EventDescriptor M3PWorkflowUnloadedEvent;
        private static readonly EventDescriptor M3PWorkflowValidationErrorEvent;
        private static readonly EventDescriptor M3PWorkflowValidationFinishedEvent;
        private static readonly EventDescriptor M3PWorkflowValidationStartedEvent;

        /// <summary>
        /// Static constructor.
        /// </summary>
        static Tracer()
        {
            unchecked
            {
                WriteTransferEventEvent = new EventDescriptor(0x1f05, 0x1, 0x11, 0x5, 0x14, 0x0, (long)0x4000000000000000);
                DebugMessageEvent = new EventDescriptor(0xc000, 0x1, 0x12, 0x4, 0x0, 0x0, (long)0x2000000000000000);
                M3PAbortingWorkflowExecutionEvent = new EventDescriptor(0xb038, 0x1, 0x11, 0x5, 0x14, 0x6, (long)0x4000000000000200);
                M3PActivityExecutionFinishedEvent = new EventDescriptor(0xb03f, 0x1, 0x11, 0x5, 0x14, 0x6, (long)0x4000000000000200);
                M3PActivityExecutionQueuedEvent = new EventDescriptor(0xb017, 0x1, 0x11, 0x5, 0x14, 0x6, (long)0x4000000000000200);
                M3PActivityExecutionStartedEvent = new EventDescriptor(0xb018, 0x1, 0x11, 0x5, 0x14, 0x6, (long)0x4000000000000200);
                M3PBeginContainerParentJobExecutionEvent = new EventDescriptor(0xb50c, 0x1, 0x12, 0x4, 0x0, 0x0, (long)0x2000000000000000);
                M3PBeginCreateNewJobEvent = new EventDescriptor(0xb503, 0x1, 0x12, 0x4, 0x0, 0x0, (long)0x2000000000000000);
                M3PBeginJobLogicEvent = new EventDescriptor(0xb506, 0x1, 0x12, 0x4, 0x0, 0x0, (long)0x2000000000000000);
                M3PBeginProxyChildJobEventHandlerEvent = new EventDescriptor(0xb512, 0x1, 0x12, 0x4, 0x0, 0x0, (long)0x2000000000000000);
                M3PBeginProxyJobEventHandlerEvent = new EventDescriptor(0xb510, 0x1, 0x12, 0x4, 0x0, 0x0, (long)0x2000000000000000);
                M3PBeginProxyJobExecutionEvent = new EventDescriptor(0xb50e, 0x1, 0x12, 0x4, 0x0, 0x0, (long)0x2000000000000000);
                M3PBeginRunGarbageCollectionEvent = new EventDescriptor(0xb514, 0x1, 0x12, 0x4, 0x0, 0x0, (long)0x2000000000000000);
                M3PBeginStartWorkflowApplicationEvent = new EventDescriptor(0xb501, 0x1, 0x12, 0x4, 0x0, 0x0, (long)0x2000000000000000);
                M3PBeginWorkflowExecutionEvent = new EventDescriptor(0xb508, 0x1, 0x12, 0x4, 0x0, 0x0, (long)0x2000000000000000);
                M3PCancellingWorkflowExecutionEvent = new EventDescriptor(0xb037, 0x1, 0x11, 0x5, 0x14, 0x6, (long)0x4000000000000200);
                M3PChildWorkflowJobAdditionEvent = new EventDescriptor(0xb50a, 0x1, 0x12, 0x4, 0x0, 0x0, (long)0x2000000000000000);
                M3PEndContainerParentJobExecutionEvent = new EventDescriptor(0xb50d, 0x1, 0x12, 0x4, 0x0, 0x0, (long)0x2000000000000000);
                M3PEndCreateNewJobEvent = new EventDescriptor(0xb504, 0x1, 0x12, 0x4, 0x0, 0x0, (long)0x2000000000000000);
                M3PEndJobLogicEvent = new EventDescriptor(0xb507, 0x1, 0x12, 0x4, 0x0, 0x0, (long)0x2000000000000000);
                M3PEndpointDisabledEvent = new EventDescriptor(0xb044, 0x1, 0x11, 0x5, 0x14, 0x9, (long)0x4000000000000200);
                M3PEndpointEnabledEvent = new EventDescriptor(0xb045, 0x1, 0x11, 0x5, 0x14, 0x9, (long)0x4000000000000200);
                M3PEndpointModifiedEvent = new EventDescriptor(0xb042, 0x1, 0x11, 0x5, 0x14, 0x9, (long)0x4000000000000200);
                M3PEndpointRegisteredEvent = new EventDescriptor(0xb041, 0x1, 0x11, 0x5, 0x14, 0x9, (long)0x4000000000000200);
                M3PEndpointUnregisteredEvent = new EventDescriptor(0xb043, 0x1, 0x11, 0x5, 0x14, 0x9, (long)0x4000000000000200);
                M3PEndProxyChildJobEventHandlerEvent = new EventDescriptor(0xb513, 0x1, 0x12, 0x4, 0x0, 0x0, (long)0x2000000000000000);
                M3PEndProxyJobEventHandlerEvent = new EventDescriptor(0xb511, 0x1, 0x12, 0x4, 0x0, 0x0, (long)0x2000000000000000);
                M3PEndProxyJobExecutionEvent = new EventDescriptor(0xb50f, 0x1, 0x12, 0x4, 0x0, 0x0, (long)0x2000000000000000);
                M3PEndRunGarbageCollectionEvent = new EventDescriptor(0xb515, 0x1, 0x12, 0x4, 0x0, 0x0, (long)0x2000000000000000);
                M3PEndStartWorkflowApplicationEvent = new EventDescriptor(0xb502, 0x1, 0x12, 0x4, 0x0, 0x0, (long)0x2000000000000000);
                M3PEndWorkflowExecutionEvent = new EventDescriptor(0xb509, 0x1, 0x12, 0x4, 0x0, 0x0, (long)0x2000000000000000);
                M3PErrorImportingWorkflowFromXamlEvent = new EventDescriptor(0xb01b, 0x1, 0x11, 0x5, 0x14, 0x6, (long)0x4000000000000200);
                M3PForcedWorkflowShutdownErrorEvent = new EventDescriptor(0xb03c, 0x1, 0x11, 0x5, 0x14, 0x6, (long)0x4000000000000200);
                M3PForcedWorkflowShutdownFinishedEvent = new EventDescriptor(0xb03b, 0x1, 0x11, 0x5, 0x14, 0x6, (long)0x4000000000000200);
                M3PForcedWorkflowShutdownStartedEvent = new EventDescriptor(0xb03a, 0x1, 0x11, 0x5, 0x14, 0x6, (long)0x4000000000000200);
                M3PImportedWorkflowFromXamlEvent = new EventDescriptor(0xb01a, 0x1, 0x11, 0x5, 0x14, 0x6, (long)0x4000000000000200);
                M3PImportingWorkflowFromXamlEvent = new EventDescriptor(0xb019, 0x1, 0x11, 0x5, 0x14, 0x6, (long)0x4000000000000200);
                M3PJobCreationCompleteEvent = new EventDescriptor(0xb032, 0x1, 0x11, 0x5, 0x14, 0x6, (long)0x4000000000000200);
                M3PJobErrorEvent = new EventDescriptor(0xb02e, 0x1, 0x11, 0x5, 0x14, 0x6, (long)0x4000000000000200);
                M3PJobRemovedEvent = new EventDescriptor(0xb033, 0x1, 0x11, 0x5, 0x14, 0x6, (long)0x4000000000000200);
                M3PJobRemoveErrorEvent = new EventDescriptor(0xb034, 0x1, 0x11, 0x5, 0x14, 0x6, (long)0x4000000000000200);
                M3PJobStateChangedEvent = new EventDescriptor(0xb02d, 0x1, 0x11, 0x5, 0x14, 0x6, (long)0x4000000000000200);
                M3PLoadingWorkflowForExecutionEvent = new EventDescriptor(0xb035, 0x1, 0x11, 0x5, 0x14, 0x6, (long)0x4000000000000200);
                M3POutOfProcessRunspaceStartedEvent = new EventDescriptor(0xb046, 0x1, 0x11, 0x5, 0x14, 0x6, (long)0x4000000000000200);
                M3PParameterSplattingWasPerformedEvent = new EventDescriptor(0xb047, 0x1, 0x11, 0x5, 0x14, 0x6, (long)0x4000000000000200);
                M3PParentJobCreatedEvent = new EventDescriptor(0xb031, 0x1, 0x11, 0x5, 0x14, 0x6, (long)0x4000000000000200);
                M3PPersistenceStoreMaxSizeReachedEvent = new EventDescriptor(0xb516, 0x1, 0x10, 0x3, 0x0, 0x0, (long)0x8000000000000000);
                M3PPersistingWorkflowEvent = new EventDescriptor(0xb03d, 0x1, 0x11, 0x5, 0x14, 0x6, (long)0x4000000000000200);
                M3PProxyJobRemoteJobAssociationEvent = new EventDescriptor(0xb50b, 0x1, 0x12, 0x4, 0x0, 0x0, (long)0x2000000000000000);
                M3PRemoveJobStartedEvent = new EventDescriptor(0xb02c, 0x1, 0x11, 0x5, 0x14, 0x6, (long)0x4000000000000200);
                M3PRunspaceAvailabilityChangedEvent = new EventDescriptor(0xb022, 0x1, 0x11, 0x5, 0x14, 0x6, (long)0x4000000000000200);
                M3PRunspaceStateChangedEvent = new EventDescriptor(0xb023, 0x1, 0x11, 0x5, 0x14, 0x6, (long)0x4000000000000200);
                M3PTrackingGuidContainerParentJobCorrelationEvent = new EventDescriptor(0xb505, 0x1, 0x12, 0x4, 0x0, 0x0, (long)0x2000000000000000);
                M3PUnloadingWorkflowEvent = new EventDescriptor(0xb039, 0x1, 0x11, 0x5, 0x14, 0x6, (long)0x4000000000000200);
                M3PWorkflowActivityExecutionFailedEvent = new EventDescriptor(0xb021, 0x1, 0x11, 0x5, 0x14, 0x6, (long)0x4000000000000200);
                M3PWorkflowActivityValidatedEvent = new EventDescriptor(0xb01f, 0x1, 0x11, 0x5, 0x14, 0x6, (long)0x4000000000000200);
                M3PWorkflowActivityValidationFailedEvent = new EventDescriptor(0xb020, 0x1, 0x11, 0x5, 0x14, 0x8, (long)0x4000000000000200);
                M3PWorkflowCleanupPerformedEvent = new EventDescriptor(0xb028, 0x1, 0x11, 0x5, 0x14, 0x6, (long)0x4000000000000200);
                M3PWorkflowDeletedFromDiskEvent = new EventDescriptor(0xb02a, 0x1, 0x11, 0x5, 0x14, 0x6, (long)0x4000000000000200);
                M3PWorkflowEngineStartedEvent = new EventDescriptor(0xb048, 0x1, 0x11, 0x5, 0x14, 0x5, (long)0x4000000000000200);
                M3PWorkflowExecutionAbortedEvent = new EventDescriptor(0xb027, 0x1, 0x11, 0x5, 0x14, 0x6, (long)0x4000000000000200);
                M3PWorkflowExecutionCancelledEvent = new EventDescriptor(0xb026, 0x1, 0x11, 0x5, 0x14, 0x6, (long)0x4000000000000200);
                M3PWorkflowExecutionErrorEvent = new EventDescriptor(0xb040, 0x1, 0x11, 0x5, 0x14, 0x6, (long)0x4000000000000200);
                M3PWorkflowExecutionFinishedEvent = new EventDescriptor(0xb036, 0x1, 0x11, 0x5, 0x14, 0x6, (long)0x4000000000000200);
                M3PWorkflowExecutionStartedEvent = new EventDescriptor(0xb008, 0x1, 0x11, 0x5, 0x14, 0x6, (long)0x4000000000000200);
                M3PWorkflowJobCreatedEvent = new EventDescriptor(0xb030, 0x1, 0x11, 0x5, 0x14, 0x6, (long)0x4000000000000200);
                M3PWorkflowLoadedForExecutionEvent = new EventDescriptor(0xb024, 0x1, 0x11, 0x5, 0x14, 0x6, (long)0x4000000000000200);
                M3PWorkflowLoadedFromDiskEvent = new EventDescriptor(0xb029, 0x1, 0x11, 0x5, 0x14, 0x6, (long)0x4000000000000200);
                M3PWorkflowManagerCheckpointEvent = new EventDescriptor(0xb049, 0x1, 0x12, 0x4, 0x0, 0x0, (long)0x2000000000000200);
                M3PWorkflowPersistedEvent = new EventDescriptor(0xb03e, 0x1, 0x11, 0x5, 0x14, 0x6, (long)0x4000000000000200);
                M3PWorkflowPluginRequestedToShutdownEvent = new EventDescriptor(0xb010, 0x1, 0x11, 0x5, 0x14, 0x5, (long)0x4000000000000200);
                M3PWorkflowPluginRestartedEvent = new EventDescriptor(0xb011, 0x1, 0x11, 0x5, 0x14, 0x5, (long)0x4000000000000200);
                M3PWorkflowPluginStartedEvent = new EventDescriptor(0xb007, 0x1, 0x11, 0x5, 0x14, 0x5, (long)0x4000000000000200);
                M3PWorkflowQuotaViolatedEvent = new EventDescriptor(0xb013, 0x1, 0x11, 0x5, 0x14, 0x6, (long)0x4000000000000200);
                M3PWorkflowResumedEvent = new EventDescriptor(0xb014, 0x1, 0x11, 0x5, 0x14, 0x6, (long)0x4000000000000200);
                M3PWorkflowResumingEvent = new EventDescriptor(0xb012, 0x1, 0x11, 0x5, 0x14, 0x6, (long)0x4000000000000200);
                M3PWorkflowRunspacePoolCreatedEvent = new EventDescriptor(0xb016, 0x1, 0x11, 0x5, 0x14, 0x6, (long)0x4000000000000200);
                M3PWorkflowStateChangedEvent = new EventDescriptor(0xb009, 0x1, 0x11, 0x5, 0x14, 0x6, (long)0x4000000000000200);
                M3PWorkflowUnloadedEvent = new EventDescriptor(0xb025, 0x1, 0x11, 0x5, 0x14, 0x6, (long)0x4000000000000200);
                M3PWorkflowValidationErrorEvent = new EventDescriptor(0xb01e, 0x1, 0x11, 0x5, 0x14, 0x8, (long)0x4000000000000200);
                M3PWorkflowValidationFinishedEvent = new EventDescriptor(0xb01d, 0x1, 0x11, 0x5, 0x14, 0x8, (long)0x4000000000000200);
                M3PWorkflowValidationStartedEvent = new EventDescriptor(0xb01c, 0x1, 0x11, 0x5, 0x14, 0x8, (long)0x4000000000000200);
            }
        }

        /// <summary>
        /// Constructor.
        /// </summary>
        public Tracer() : base() { }

        /// <summary>
        /// Transfer Event.
        /// </summary>
        protected override EventDescriptor TransferEvent
        {
            get
            {
                return WriteTransferEventEvent;
            }
        }

        /// <summary>
        /// WriteTransferEvent (EventId: 0x1f05/7941).
        /// </summary>
        [EtwEvent(0x1f05)]
        public void WriteTransferEvent(Guid currentActivityId, Guid parentActivityId)
        {
            WriteEvent(WriteTransferEventEvent, currentActivityId, parentActivityId);
        }

        /// <summary>
        /// DebugMessage (EventId: 0xc000/49152).
        /// </summary>
        [EtwEvent(0xc000)]
        public void DebugMessage(string message)
        {
            WriteEvent(DebugMessageEvent, message);
        }

        /// <summary>
        /// AbortingWorkflowExecution (EventId: 0xb038/45112).
        /// </summary>
        [EtwEvent(0xb038)]
        public void AbortingWorkflowExecution(Guid workflowId, string reason)
        {
            WriteEvent(M3PAbortingWorkflowExecutionEvent, workflowId, reason);
        }

        /// <summary>
        /// ActivityExecutionFinished (EventId: 0xb03f/45119).
        /// </summary>
        [EtwEvent(0xb03f)]
        public void ActivityExecutionFinished(string activityName)
        {
            WriteEvent(M3PActivityExecutionFinishedEvent, activityName);
        }

        /// <summary>
        /// ActivityExecutionQueued (EventId: 0xb017/45079).
        /// </summary>
        [EtwEvent(0xb017)]
        public void ActivityExecutionQueued(Guid workflowId, string activityName)
        {
            WriteEvent(M3PActivityExecutionQueuedEvent, workflowId, activityName);
        }

        /// <summary>
        /// ActivityExecutionStarted (EventId: 0xb018/45080).
        /// </summary>
        [EtwEvent(0xb018)]
        public void ActivityExecutionStarted(string activityName, string activityTypeName)
        {
            WriteEvent(M3PActivityExecutionStartedEvent, activityName, activityTypeName);
        }

        /// <summary>
        /// BeginContainerParentJobExecution (EventId: 0xb50c/46348).
        /// </summary>
        [EtwEvent(0xb50c)]
        public void BeginContainerParentJobExecution(Guid containerParentJobInstanceId)
        {
            WriteEvent(M3PBeginContainerParentJobExecutionEvent, containerParentJobInstanceId);
        }

        /// <summary>
        /// BeginCreateNewJob (EventId: 0xb503/46339).
        /// </summary>
        [EtwEvent(0xb503)]
        public void BeginCreateNewJob(Guid trackingId)
        {
            WriteEvent(M3PBeginCreateNewJobEvent, trackingId);
        }

        /// <summary>
        /// BeginJobLogic (EventId: 0xb506/46342).
        /// </summary>
        [EtwEvent(0xb506)]
        public void BeginJobLogic(Guid workflowJobJobInstanceId)
        {
            WriteEvent(M3PBeginJobLogicEvent, workflowJobJobInstanceId);
        }

        /// <summary>
        /// BeginProxyChildJobEventHandler (EventId: 0xb512/46354).
        /// </summary>
        [EtwEvent(0xb512)]
        public void BeginProxyChildJobEventHandler(Guid proxyChildJobInstanceId)
        {
            WriteEvent(M3PBeginProxyChildJobEventHandlerEvent, proxyChildJobInstanceId);
        }

        /// <summary>
        /// BeginProxyJobEventHandler (EventId: 0xb510/46352).
        /// </summary>
        [EtwEvent(0xb510)]
        public void BeginProxyJobEventHandler(Guid proxyJobInstanceId)
        {
            WriteEvent(M3PBeginProxyJobEventHandlerEvent, proxyJobInstanceId);
        }

        /// <summary>
        /// BeginProxyJobExecution (EventId: 0xb50e/46350).
        /// </summary>
        [EtwEvent(0xb50e)]
        public void BeginProxyJobExecution(Guid proxyJobInstanceId)
        {
            WriteEvent(M3PBeginProxyJobExecutionEvent, proxyJobInstanceId);
        }

        /// <summary>
        /// BeginRunGarbageCollection (EventId: 0xb514/46356).
        /// </summary>
        [EtwEvent(0xb514)]
        public void BeginRunGarbageCollection()
        {
            WriteEvent(M3PBeginRunGarbageCollectionEvent);
        }

        /// <summary>
        /// BeginStartWorkflowApplication (EventId: 0xb501/46337).
        /// </summary>
        [EtwEvent(0xb501)]
        public void BeginStartWorkflowApplication(Guid trackingId)
        {
            WriteEvent(M3PBeginStartWorkflowApplicationEvent, trackingId);
        }

        /// <summary>
        /// BeginWorkflowExecution (EventId: 0xb508/46344).
        /// </summary>
        [EtwEvent(0xb508)]
        public void BeginWorkflowExecution(Guid workflowJobJobInstanceId)
        {
            WriteEvent(M3PBeginWorkflowExecutionEvent, workflowJobJobInstanceId);
        }

        /// <summary>
        /// CancellingWorkflowExecution (EventId: 0xb037/45111).
        /// </summary>
        [EtwEvent(0xb037)]
        public void CancellingWorkflowExecution(Guid workflowId)
        {
            WriteEvent(M3PCancellingWorkflowExecutionEvent, workflowId);
        }

        /// <summary>
        /// ChildWorkflowJobAddition (EventId: 0xb50a/46346).
        /// </summary>
        [EtwEvent(0xb50a)]
        public void ChildWorkflowJobAddition(Guid workflowJobInstanceId, Guid containerParentJobInstanceId)
        {
            WriteEvent(M3PChildWorkflowJobAdditionEvent, workflowJobInstanceId, containerParentJobInstanceId);
        }

        /// <summary>
        /// EndContainerParentJobExecution (EventId: 0xb50d/46349).
        /// </summary>
        [EtwEvent(0xb50d)]
        public void EndContainerParentJobExecution(Guid containerParentJobInstanceId)
        {
            WriteEvent(M3PEndContainerParentJobExecutionEvent, containerParentJobInstanceId);
        }

        /// <summary>
        /// EndCreateNewJob (EventId: 0xb504/46340).
        /// </summary>
        [EtwEvent(0xb504)]
        public void EndCreateNewJob(Guid trackingId)
        {
            WriteEvent(M3PEndCreateNewJobEvent, trackingId);
        }

        /// <summary>
        /// EndJobLogic (EventId: 0xb507/46343).
        /// </summary>
        [EtwEvent(0xb507)]
        public void EndJobLogic(Guid workflowJobJobInstanceId)
        {
            WriteEvent(M3PEndJobLogicEvent, workflowJobJobInstanceId);
        }

        /// <summary>
        /// EndpointDisabled (EventId: 0xb044/45124).
        /// </summary>
        [EtwEvent(0xb044)]
        public void EndpointDisabled(string endpointName, string disabledBy)
        {
            WriteEvent(M3PEndpointDisabledEvent, endpointName, disabledBy);
        }

        /// <summary>
        /// EndpointEnabled (EventId: 0xb045/45125).
        /// </summary>
        [EtwEvent(0xb045)]
        public void EndpointEnabled(string endpointName, string enabledBy)
        {
            WriteEvent(M3PEndpointEnabledEvent, endpointName, enabledBy);
        }

        /// <summary>
        /// EndpointModified (EventId: 0xb042/45122).
        /// </summary>
        [EtwEvent(0xb042)]
        public void EndpointModified(string endpointName, string modifiedBy)
        {
            WriteEvent(M3PEndpointModifiedEvent, endpointName, modifiedBy);
        }

        /// <summary>
        /// EndpointRegistered (EventId: 0xb041/45121).
        /// </summary>
        [EtwEvent(0xb041)]
        public void EndpointRegistered(string endpointName, string registeredBy)
        {
            WriteEvent(M3PEndpointRegisteredEvent, endpointName, registeredBy);
        }

        /// <summary>
        /// EndpointUnregistered (EventId: 0xb043/45123).
        /// </summary>
        [EtwEvent(0xb043)]
        public void EndpointUnregistered(string endpointName, string unregisteredBy)
        {
            WriteEvent(M3PEndpointUnregisteredEvent, endpointName, unregisteredBy);
        }

        /// <summary>
        /// EndProxyChildJobEventHandler (EventId: 0xb513/46355).
        /// </summary>
        [EtwEvent(0xb513)]
        public void EndProxyChildJobEventHandler(Guid proxyChildJobInstanceId)
        {
            WriteEvent(M3PEndProxyChildJobEventHandlerEvent, proxyChildJobInstanceId);
        }

        /// <summary>
        /// EndProxyJobEventHandler (EventId: 0xb511/46353).
        /// </summary>
        [EtwEvent(0xb511)]
        public void EndProxyJobEventHandler(Guid proxyJobInstanceId)
        {
            WriteEvent(M3PEndProxyJobEventHandlerEvent, proxyJobInstanceId);
        }

        /// <summary>
        /// EndProxyJobExecution (EventId: 0xb50f/46351).
        /// </summary>
        [EtwEvent(0xb50f)]
        public void EndProxyJobExecution(Guid proxyJobInstanceId)
        {
            WriteEvent(M3PEndProxyJobExecutionEvent, proxyJobInstanceId);
        }

        /// <summary>
        /// EndRunGarbageCollection (EventId: 0xb515/46357).
        /// </summary>
        [EtwEvent(0xb515)]
        public void EndRunGarbageCollection()
        {
            WriteEvent(M3PEndRunGarbageCollectionEvent);
        }

        /// <summary>
        /// EndStartWorkflowApplication (EventId: 0xb502/46338).
        /// </summary>
        [EtwEvent(0xb502)]
        public void EndStartWorkflowApplication(Guid trackingId)
        {
            WriteEvent(M3PEndStartWorkflowApplicationEvent, trackingId);
        }

        /// <summary>
        /// EndWorkflowExecution (EventId: 0xb509/46345).
        /// </summary>
        [EtwEvent(0xb509)]
        public void EndWorkflowExecution(Guid workflowJobJobInstanceId)
        {
            WriteEvent(M3PEndWorkflowExecutionEvent, workflowJobJobInstanceId);
        }

        /// <summary>
        /// ErrorImportingWorkflowFromXaml (EventId: 0xb01b/45083).
        /// </summary>
        [EtwEvent(0xb01b)]
        public void ErrorImportingWorkflowFromXaml(Guid workflowId, string errorDescription)
        {
            WriteEvent(M3PErrorImportingWorkflowFromXamlEvent, workflowId, errorDescription);
        }

        /// <summary>
        /// ForcedWorkflowShutdownError (EventId: 0xb03c/45116).
        /// </summary>
        [EtwEvent(0xb03c)]
        public void ForcedWorkflowShutdownError(Guid workflowId, string errorDescription)
        {
            WriteEvent(M3PForcedWorkflowShutdownErrorEvent, workflowId, errorDescription);
        }

        /// <summary>
        /// ForcedWorkflowShutdownFinished (EventId: 0xb03b/45115).
        /// </summary>
        [EtwEvent(0xb03b)]
        public void ForcedWorkflowShutdownFinished(Guid workflowId)
        {
            WriteEvent(M3PForcedWorkflowShutdownFinishedEvent, workflowId);
        }

        /// <summary>
        /// ForcedWorkflowShutdownStarted (EventId: 0xb03a/45114).
        /// </summary>
        [EtwEvent(0xb03a)]
        public void ForcedWorkflowShutdownStarted(Guid workflowId)
        {
            WriteEvent(M3PForcedWorkflowShutdownStartedEvent, workflowId);
        }

        /// <summary>
        /// ImportedWorkflowFromXaml (EventId: 0xb01a/45082).
        /// </summary>
        [EtwEvent(0xb01a)]
        public void ImportedWorkflowFromXaml(Guid workflowId, string xamlFile)
        {
            WriteEvent(M3PImportedWorkflowFromXamlEvent, workflowId, xamlFile);
        }

        /// <summary>
        /// ImportingWorkflowFromXaml (EventId: 0xb019/45081).
        /// </summary>
        [EtwEvent(0xb019)]
        public void ImportingWorkflowFromXaml(Guid workflowId, string xamlFile)
        {
            WriteEvent(M3PImportingWorkflowFromXamlEvent, workflowId, xamlFile);
        }

        /// <summary>
        /// JobCreationComplete (EventId: 0xb032/45106).
        /// </summary>
        [EtwEvent(0xb032)]
        public void JobCreationComplete(Guid jobId, Guid workflowId)
        {
            WriteEvent(M3PJobCreationCompleteEvent, jobId, workflowId);
        }

        /// <summary>
        /// JobError (EventId: 0xb02e/45102).
        /// </summary>
        [EtwEvent(0xb02e)]
        public void JobError(int jobId, Guid workflowId, string errorDescription)
        {
            WriteEvent(M3PJobErrorEvent, jobId, workflowId, errorDescription);
        }

        /// <summary>
        /// JobRemoved (EventId: 0xb033/45107).
        /// </summary>
        [EtwEvent(0xb033)]
        public void JobRemoved(Guid parentJobId, Guid childJobId, Guid workflowId)
        {
            WriteEvent(M3PJobRemovedEvent, parentJobId, childJobId, workflowId);
        }

        /// <summary>
        /// JobRemoveError (EventId: 0xb034/45108).
        /// </summary>
        [EtwEvent(0xb034)]
        public void JobRemoveError(Guid parentJobId, Guid childJobId, Guid workflowId, string error)
        {
            WriteEvent(M3PJobRemoveErrorEvent, parentJobId, childJobId, workflowId, error);
        }

        /// <summary>
        /// JobStateChanged (EventId: 0xb02d/45101).
        /// </summary>
        [EtwEvent(0xb02d)]
        public void JobStateChanged(int jobId, Guid workflowId, string newState, string oldState)
        {
            WriteEvent(M3PJobStateChangedEvent, jobId, workflowId, newState, oldState);
        }

        /// <summary>
        /// LoadingWorkflowForExecution (EventId: 0xb035/45109).
        /// </summary>
        [EtwEvent(0xb035)]
        public void LoadingWorkflowForExecution(Guid workflowId)
        {
            WriteEvent(M3PLoadingWorkflowForExecutionEvent, workflowId);
        }

        /// <summary>
        /// OutOfProcessRunspaceStarted (EventId: 0xb046/45126).
        /// </summary>
        [EtwEvent(0xb046)]
        public void OutOfProcessRunspaceStarted(string command)
        {
            WriteEvent(M3POutOfProcessRunspaceStartedEvent, command);
        }

        /// <summary>
        /// ParameterSplattingWasPerformed (EventId: 0xb047/45127).
        /// </summary>
        [EtwEvent(0xb047)]
        [SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly")]
        public void ParameterSplattingWasPerformed(string parameters, string computers)
        {
            WriteEvent(M3PParameterSplattingWasPerformedEvent, parameters, computers);
        }

        /// <summary>
        /// ParentJobCreated (EventId: 0xb031/45105).
        /// </summary>
        [EtwEvent(0xb031)]
        public void ParentJobCreated(Guid jobId)
        {
            WriteEvent(M3PParentJobCreatedEvent, jobId);
        }

        /// <summary>
        /// PersistenceStoreMaxSizeReached (EventId: 0xb516/46358).
        /// </summary>
        [EtwEvent(0xb516)]
        public void PersistenceStoreMaxSizeReached()
        {
            WriteEvent(M3PPersistenceStoreMaxSizeReachedEvent);
        }

        /// <summary>
        /// PersistingWorkflow (EventId: 0xb03d/45117).
        /// </summary>
        [EtwEvent(0xb03d)]
        public void PersistingWorkflow(Guid workflowId, string persistPath)
        {
            WriteEvent(M3PPersistingWorkflowEvent, workflowId, persistPath);
        }

        /// <summary>
        /// ProxyJobRemoteJobAssociation (EventId: 0xb50b/46347).
        /// </summary>
        [EtwEvent(0xb50b)]
        public void ProxyJobRemoteJobAssociation(Guid proxyJobInstanceId, Guid containerParentJobInstanceId)
        {
            WriteEvent(M3PProxyJobRemoteJobAssociationEvent, proxyJobInstanceId, containerParentJobInstanceId);
        }

        /// <summary>
        /// RemoveJobStarted (EventId: 0xb02c/45100).
        /// </summary>
        [EtwEvent(0xb02c)]
        public void RemoveJobStarted(Guid jobId)
        {
            WriteEvent(M3PRemoveJobStartedEvent, jobId);
        }

        /// <summary>
        /// RunspaceAvailabilityChanged (EventId: 0xb022/45090).
        /// </summary>
        [EtwEvent(0xb022)]
        public void RunspaceAvailabilityChanged(string runspaceId, string availability)
        {
            WriteEvent(M3PRunspaceAvailabilityChangedEvent, runspaceId, availability);
        }

        /// <summary>
        /// RunspaceStateChanged (EventId: 0xb023/45091).
        /// </summary>
        [EtwEvent(0xb023)]
        public void RunspaceStateChanged(string runspaceId, string newState, string oldState)
        {
            WriteEvent(M3PRunspaceStateChangedEvent, runspaceId, newState, oldState);
        }

        /// <summary>
        /// TrackingGuidContainerParentJobCorrelation (EventId: 0xb505/46341).
        /// </summary>
        [EtwEvent(0xb505)]
        public void TrackingGuidContainerParentJobCorrelation(Guid trackingId, Guid containerParentJobInstanceId)
        {
            WriteEvent(M3PTrackingGuidContainerParentJobCorrelationEvent, trackingId, containerParentJobInstanceId);
        }

        /// <summary>
        /// UnloadingWorkflow (EventId: 0xb039/45113).
        /// </summary>
        [EtwEvent(0xb039)]
        public void UnloadingWorkflow(Guid workflowId)
        {
            WriteEvent(M3PUnloadingWorkflowEvent, workflowId);
        }

        /// <summary>
        /// WorkflowActivityExecutionFailed (EventId: 0xb021/45089).
        /// </summary>
        [EtwEvent(0xb021)]
        public void WorkflowActivityExecutionFailed(Guid workflowId, string activityName, string failureDescription)
        {
            WriteEvent(M3PWorkflowActivityExecutionFailedEvent, workflowId, activityName, failureDescription);
        }

        /// <summary>
        /// WorkflowActivityValidated (EventId: 0xb01f/45087).
        /// </summary>
        [EtwEvent(0xb01f)]
        public void WorkflowActivityValidated(Guid workflowId, string activityDisplayName, string activityType)
        {
            WriteEvent(M3PWorkflowActivityValidatedEvent, workflowId, activityDisplayName, activityType);
        }

        /// <summary>
        /// WorkflowActivityValidationFailed (EventId: 0xb020/45088).
        /// </summary>
        [EtwEvent(0xb020)]
        public void WorkflowActivityValidationFailed(Guid workflowId, string activityDisplayName, string activityType)
        {
            WriteEvent(M3PWorkflowActivityValidationFailedEvent, workflowId, activityDisplayName, activityType);
        }

        /// <summary>
        /// WorkflowCleanupPerformed (EventId: 0xb028/45096).
        /// </summary>
        [EtwEvent(0xb028)]
        public void WorkflowCleanupPerformed(Guid workflowId)
        {
            WriteEvent(M3PWorkflowCleanupPerformedEvent, workflowId);
        }

        /// <summary>
        /// WorkflowDeletedFromDisk (EventId: 0xb02a/45098).
        /// </summary>
        [EtwEvent(0xb02a)]
        public void WorkflowDeletedFromDisk(Guid workflowId, string path)
        {
            WriteEvent(M3PWorkflowDeletedFromDiskEvent, workflowId, path);
        }

        /// <summary>
        /// WorkflowEngineStarted (EventId: 0xb048/45128).
        /// </summary>
        [EtwEvent(0xb048)]
        public void WorkflowEngineStarted(string endpointName)
        {
            WriteEvent(M3PWorkflowEngineStartedEvent, endpointName);
        }

        /// <summary>
        /// WorkflowExecutionAborted (EventId: 0xb027/45095).
        /// </summary>
        [EtwEvent(0xb027)]
        public void WorkflowExecutionAborted(Guid workflowId)
        {
            WriteEvent(M3PWorkflowExecutionAbortedEvent, workflowId);
        }

        /// <summary>
        /// WorkflowExecutionCancelled (EventId: 0xb026/45094).
        /// </summary>
        [EtwEvent(0xb026)]
        public void WorkflowExecutionCancelled(Guid workflowId)
        {
            WriteEvent(M3PWorkflowExecutionCancelledEvent, workflowId);
        }

        /// <summary>
        /// WorkflowExecutionError (EventId: 0xb040/45120).
        /// </summary>
        [EtwEvent(0xb040)]
        public void WorkflowExecutionError(Guid workflowId, string errorDescription)
        {
            WriteEvent(M3PWorkflowExecutionErrorEvent, workflowId, errorDescription);
        }

        /// <summary>
        /// WorkflowExecutionFinished (EventId: 0xb036/45110).
        /// </summary>
        [EtwEvent(0xb036)]
        public void WorkflowExecutionFinished(Guid workflowId)
        {
            WriteEvent(M3PWorkflowExecutionFinishedEvent, workflowId);
        }

        /// <summary>
        /// WorkflowExecutionStarted (EventId: 0xb008/45064).
        /// </summary>
        [EtwEvent(0xb008)]
        public void WorkflowExecutionStarted(Guid workflowId, string managedNodes)
        {
            WriteEvent(M3PWorkflowExecutionStartedEvent, workflowId, managedNodes);
        }

        /// <summary>
        /// WorkflowJobCreated (EventId: 0xb030/45104).
        /// </summary>
        [EtwEvent(0xb030)]
        public void WorkflowJobCreated(Guid parentJobId, Guid childJobId, Guid childWorkflowId)
        {
            WriteEvent(M3PWorkflowJobCreatedEvent, parentJobId, childJobId, childWorkflowId);
        }

        /// <summary>
        /// WorkflowLoadedForExecution (EventId: 0xb024/45092).
        /// </summary>
        [EtwEvent(0xb024)]
        public void WorkflowLoadedForExecution(Guid workflowId)
        {
            WriteEvent(M3PWorkflowLoadedForExecutionEvent, workflowId);
        }

        /// <summary>
        /// WorkflowLoadedFromDisk (EventId: 0xb029/45097).
        /// </summary>
        [EtwEvent(0xb029)]
        public void WorkflowLoadedFromDisk(Guid workflowId, string path)
        {
            WriteEvent(M3PWorkflowLoadedFromDiskEvent, workflowId, path);
        }

        /// <summary>
        /// WorkflowManagerCheckpoint (EventId: 0xb049/45129).
        /// </summary>
        [EtwEvent(0xb049)]
        public void WorkflowManagerCheckpoint(string checkpointPath, string configProviderId, string userName, string path)
        {
            WriteEvent(M3PWorkflowManagerCheckpointEvent, checkpointPath, configProviderId, userName, path);
        }

        /// <summary>
        /// WorkflowPersisted (EventId: 0xb03e/45118).
        /// </summary>
        [EtwEvent(0xb03e)]
        public void WorkflowPersisted(Guid workflowId)
        {
            WriteEvent(M3PWorkflowPersistedEvent, workflowId);
        }

        /// <summary>
        /// WorkflowPluginRequestedToShutdown (EventId: 0xb010/45072).
        /// </summary>
        [EtwEvent(0xb010)]
        [SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly")]
        public void WorkflowPluginRequestedToShutdown(string endpointName)
        {
            WriteEvent(M3PWorkflowPluginRequestedToShutdownEvent, endpointName);
        }

        /// <summary>
        /// WorkflowPluginRestarted (EventId: 0xb011/45073).
        /// </summary>
        [EtwEvent(0xb011)]
        [SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly")]
        public void WorkflowPluginRestarted(string endpointName)
        {
            WriteEvent(M3PWorkflowPluginRestartedEvent, endpointName);
        }

        /// <summary>
        /// WorkflowPluginStarted (EventId: 0xb007/45063).
        /// </summary>
        [EtwEvent(0xb007)]
        [SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly")]
        public void WorkflowPluginStarted(string endpointName, string user, string hostingMode, string protocol, string configuration)
        {
            WriteEvent(M3PWorkflowPluginStartedEvent, endpointName, user, hostingMode, protocol, configuration);
        }

        /// <summary>
        /// WorkflowQuotaViolated (EventId: 0xb013/45075).
        /// </summary>
        [EtwEvent(0xb013)]
        public void WorkflowQuotaViolated(string endpointName, string configName, string allowedValue, string valueInQuestion)
        {
            WriteEvent(M3PWorkflowQuotaViolatedEvent, endpointName, configName, allowedValue, valueInQuestion);
        }

        /// <summary>
        /// WorkflowResumed (EventId: 0xb014/45076).
        /// </summary>
        [EtwEvent(0xb014)]
        public void WorkflowResumed(Guid workflowId)
        {
            WriteEvent(M3PWorkflowResumedEvent, workflowId);
        }

        /// <summary>
        /// WorkflowResuming (EventId: 0xb012/45074).
        /// </summary>
        [EtwEvent(0xb012)]
        public void WorkflowResuming(Guid workflowId)
        {
            WriteEvent(M3PWorkflowResumingEvent, workflowId);
        }

        /// <summary>
        /// WorkflowRunspacePoolCreated (EventId: 0xb016/45078).
        /// </summary>
        [EtwEvent(0xb016)]
        public void WorkflowRunspacePoolCreated(Guid workflowId, string managedNode)
        {
            WriteEvent(M3PWorkflowRunspacePoolCreatedEvent, workflowId, managedNode);
        }

        /// <summary>
        /// WorkflowStateChanged (EventId: 0xb009/45065).
        /// </summary>
        [EtwEvent(0xb009)]
        public void WorkflowStateChanged(Guid workflowId, string newState, string oldState)
        {
            WriteEvent(M3PWorkflowStateChangedEvent, workflowId, newState, oldState);
        }

        /// <summary>
        /// WorkflowUnloaded (EventId: 0xb025/45093).
        /// </summary>
        [EtwEvent(0xb025)]
        public void WorkflowUnloaded(Guid workflowId)
        {
            WriteEvent(M3PWorkflowUnloadedEvent, workflowId);
        }

        /// <summary>
        /// WorkflowValidationError (EventId: 0xb01e/45086).
        /// </summary>
        [EtwEvent(0xb01e)]
        public void WorkflowValidationError(Guid workflowId)
        {
            WriteEvent(M3PWorkflowValidationErrorEvent, workflowId);
        }

        /// <summary>
        /// WorkflowValidationFinished (EventId: 0xb01d/45085).
        /// </summary>
        [EtwEvent(0xb01d)]
        public void WorkflowValidationFinished(Guid workflowId)
        {
            WriteEvent(M3PWorkflowValidationFinishedEvent, workflowId);
        }

        /// <summary>
        /// WorkflowValidationStarted (EventId: 0xb01c/45084).
        /// </summary>
        [EtwEvent(0xb01c)]
        public void WorkflowValidationStarted(Guid workflowId)
        {
            WriteEvent(M3PWorkflowValidationStartedEvent, workflowId);
        }
    }
}

// This code was generated on 02/01/2012 19:52:32

#endif