1 <?xml version="1.0" encoding="utf-8"?><span>
4 <name>System.Diagnostics.Tracing</name>
7 <member name="T:System.Diagnostics.Tracing.EventActivityOptions">
8 <summary>Specifies the tracking of activity start and stop events.</summary>
10 <member name="F:System.Diagnostics.Tracing.EventActivityOptions.Detachable">
11 <summary>Allow overlapping activities. By default, activity starts and stops must be property nested. That is, a sequence of Start A, Start B, Stop A, Stop B is not allowed will result in B stopping at the same time as A.</summary>
14 <member name="F:System.Diagnostics.Tracing.EventActivityOptions.Disable">
15 <summary>Turn off start and stop tracking.</summary>
18 <member name="F:System.Diagnostics.Tracing.EventActivityOptions.None">
19 <summary>Use the default behavior for start and stop tracking.</summary>
22 <member name="F:System.Diagnostics.Tracing.EventActivityOptions.Recursive">
23 <summary>Allow recursive activity starts. By default, an activity cannot be recursive. That is, a sequence of Start A, Start A, Stop A, Stop A is not allowed. Unintentional recursive activities can occur if the app executes and for some the stop is not reached before another start is called.</summary>
26 <member name="T:System.Diagnostics.Tracing.EventAttribute">
27 <summary>Specifies additional event schema information for an event.</summary>
29 <member name="M:System.Diagnostics.Tracing.EventAttribute.#ctor(System.Int32)">
30 <summary>Initializes a new instance of the <see cref="T:System.Diagnostics.Tracing.EventAttribute"></see> class with the specified event identifier.</summary>
31 <param name="eventId">The event identifier for the event.</param>
33 <member name="P:System.Diagnostics.Tracing.EventAttribute.ActivityOptions">
34 <summary>Specifies the behavior of the start and stop events of an activity. An activity is the region of time in an app between the start and the stop.</summary>
35 <returns>Returns <see cref="T:System.Diagnostics.Tracing.EventActivityOptions"></see>.</returns>
37 <member name="P:System.Diagnostics.Tracing.EventAttribute.Channel">
38 <summary>Gets or sets an additional event log where the event should be written.</summary>
39 <returns>An additional event log where the event should be written.</returns>
41 <member name="P:System.Diagnostics.Tracing.EventAttribute.EventId">
42 <summary>Gets or sets the identifier for the event.</summary>
43 <returns>The event identifier. This value should be between 0 and 65535.</returns>
45 <member name="P:System.Diagnostics.Tracing.EventAttribute.Keywords">
46 <summary>Gets or sets the keywords for the event.</summary>
47 <returns>A bitwise combination of the enumeration values.</returns>
49 <member name="P:System.Diagnostics.Tracing.EventAttribute.Level">
50 <summary>Gets or sets the level for the event.</summary>
51 <returns>One of the enumeration values that specifies the level for the event.</returns>
53 <member name="P:System.Diagnostics.Tracing.EventAttribute.Message">
54 <summary>Gets or sets the message for the event.</summary>
55 <returns>The message for the event.</returns>
57 <member name="P:System.Diagnostics.Tracing.EventAttribute.Opcode">
58 <summary>Gets or sets the operation code for the event.</summary>
59 <returns>One of the enumeration values that specifies the operation code.</returns>
61 <member name="P:System.Diagnostics.Tracing.EventAttribute.Tags">
62 <summary>Gets and sets the <see cref="T:System.Diagnostics.Tracing.EventTags"></see> value for this <see cref="T:System.Diagnostics.Tracing.EventAttribute"></see> object. An event tag is a user-defined value that is passed through when the event is logged.</summary>
63 <returns>Returns the <see cref="T:System.Diagnostics.Tracing.EventTags"></see> value.</returns>
65 <member name="P:System.Diagnostics.Tracing.EventAttribute.Task">
66 <summary>Gets or sets the task for the event.</summary>
67 <returns>The task for the event.</returns>
69 <member name="P:System.Diagnostics.Tracing.EventAttribute.Version">
70 <summary>Gets or sets the version of the event.</summary>
71 <returns>The version of the event.</returns>
73 <member name="T:System.Diagnostics.Tracing.EventChannel">
74 <summary>Specifies the event log channel for the event.</summary>
76 <member name="F:System.Diagnostics.Tracing.EventChannel.Admin">
77 <summary>The administrator log channel.</summary>
80 <member name="F:System.Diagnostics.Tracing.EventChannel.Analytic">
81 <summary>The analytic channel.</summary>
84 <member name="F:System.Diagnostics.Tracing.EventChannel.Debug">
85 <summary>The debug channel.</summary>
88 <member name="F:System.Diagnostics.Tracing.EventChannel.None">
89 <summary>No channel specified.</summary>
92 <member name="F:System.Diagnostics.Tracing.EventChannel.Operational">
93 <summary>The operational channel.</summary>
96 <member name="T:System.Diagnostics.Tracing.EventCommand">
97 <summary>Describes the command (<see cref="P:System.Diagnostics.Tracing.EventCommandEventArgs.Command"></see> property) that is passed to the <see cref="M:System.Diagnostics.Tracing.EventSource.OnEventCommand(System.Diagnostics.Tracing.EventCommandEventArgs)"></see> callback.</summary>
99 <member name="F:System.Diagnostics.Tracing.EventCommand.Disable">
100 <summary>Disable the event.</summary>
103 <member name="F:System.Diagnostics.Tracing.EventCommand.Enable">
104 <summary>Enable the event.</summary>
107 <member name="F:System.Diagnostics.Tracing.EventCommand.SendManifest">
108 <summary>Send the manifest.</summary>
111 <member name="F:System.Diagnostics.Tracing.EventCommand.Update">
112 <summary>Update the event.</summary>
115 <member name="T:System.Diagnostics.Tracing.EventCommandEventArgs">
116 <summary>Provides the arguments for the <see cref="M:System.Diagnostics.Tracing.EventSource.OnEventCommand(System.Diagnostics.Tracing.EventCommandEventArgs)"></see> callback.</summary>
118 <member name="P:System.Diagnostics.Tracing.EventCommandEventArgs.Arguments">
119 <summary>Gets the array of arguments for the callback.</summary>
120 <returns>An array of callback arguments.</returns>
122 <member name="P:System.Diagnostics.Tracing.EventCommandEventArgs.Command">
123 <summary>Gets the command for the callback.</summary>
124 <returns>The callback command.</returns>
126 <member name="M:System.Diagnostics.Tracing.EventCommandEventArgs.DisableEvent(System.Int32)">
127 <summary>Disables the event that have the specified identifier.</summary>
128 <param name="eventId">The identifier of the event to disable.</param>
129 <returns>true if <paramref name="eventId">eventId</paramref> is in range; otherwise, false.</returns>
131 <member name="M:System.Diagnostics.Tracing.EventCommandEventArgs.EnableEvent(System.Int32)">
132 <summary>Enables the event that has the specified identifier.</summary>
133 <param name="eventId">The identifier of the event to enable.</param>
134 <returns>true if <paramref name="eventId">eventId</paramref> is in range; otherwise, false.</returns>
136 <member name="T:System.Diagnostics.Tracing.EventCounter">
139 <member name="M:System.Diagnostics.Tracing.EventCounter.#ctor(System.String,System.Diagnostics.Tracing.EventSource)">
140 <param name="name"></param>
141 <param name="eventSource"></param>
143 <member name="M:System.Diagnostics.Tracing.EventCounter.WriteMetric(System.Single)">
144 <param name="value"></param>
146 <member name="T:System.Diagnostics.Tracing.EventDataAttribute">
147 <summary>Specifies a type to be passed to the <see cref="M:System.Diagnostics.Tracing.EventSource.Write``1(System.String,System.Diagnostics.Tracing.EventSourceOptions,``0)"></see> method.</summary>
149 <member name="M:System.Diagnostics.Tracing.EventDataAttribute.#ctor">
150 <summary>Initializes a new instance of the <see cref="T:System.Diagnostics.Tracing.EventDataAttribute"></see> class.</summary>
152 <member name="P:System.Diagnostics.Tracing.EventDataAttribute.Name">
153 <summary>Gets or set the name to apply to an event if the event type or property is not explicitly named.</summary>
154 <returns>The name to apply to the event or property.</returns>
156 <member name="T:System.Diagnostics.Tracing.EventFieldAttribute">
157 <summary>The <see cref="T:System.Diagnostics.Tracing.EventFieldAttribute"></see> is placed on fields of user-defined types that are passed as <see cref="T:System.Diagnostics.Tracing.EventSource"></see> payloads.</summary>
159 <member name="M:System.Diagnostics.Tracing.EventFieldAttribute.#ctor">
160 <summary>Initializes a new instance of the <see cref="T:System.Diagnostics.Tracing.EventFieldAttribute"></see> class.</summary>
162 <member name="P:System.Diagnostics.Tracing.EventFieldAttribute.Format">
163 <summary>Gets and sets the value that specifies how to format the value of a user-defined type.</summary>
164 <returns>Returns a <see cref="T:System.Diagnostics.Tracing.EventFieldFormat"></see> value.</returns>
166 <member name="P:System.Diagnostics.Tracing.EventFieldAttribute.Tags">
167 <summary>Gets and sets the user-defined <see cref="T:System.Diagnostics.Tracing.EventFieldTags"></see> value that is required for fields that contain data that isn't one of the supported types.</summary>
168 <returns>Returns <see cref="T:System.Diagnostics.Tracing.EventFieldTags"></see>.</returns>
170 <member name="T:System.Diagnostics.Tracing.EventFieldFormat">
171 <summary>Specifies how to format the value of a user-defined type and can be used to override the default formatting for a field.</summary>
173 <member name="F:System.Diagnostics.Tracing.EventFieldFormat.Boolean">
174 <summary>Boolean</summary>
177 <member name="F:System.Diagnostics.Tracing.EventFieldFormat.Default">
178 <summary>Default.</summary>
181 <member name="F:System.Diagnostics.Tracing.EventFieldFormat.Hexadecimal">
182 <summary>Hexadecimal.</summary>
185 <member name="F:System.Diagnostics.Tracing.EventFieldFormat.HResult">
186 <summary>HResult.</summary>
189 <member name="F:System.Diagnostics.Tracing.EventFieldFormat.Json">
190 <summary>JSON.</summary>
193 <member name="F:System.Diagnostics.Tracing.EventFieldFormat.String">
194 <summary>String.</summary>
197 <member name="F:System.Diagnostics.Tracing.EventFieldFormat.Xml">
198 <summary>XML.</summary>
201 <member name="T:System.Diagnostics.Tracing.EventFieldTags">
202 <summary>Specifies the user-defined tag that is placed on fields of user-defined types that are passed as <see cref="T:System.Diagnostics.Tracing.EventSource"></see> payloads through the <see cref="T:System.Diagnostics.Tracing.EventFieldAttribute"></see>.</summary>
204 <member name="F:System.Diagnostics.Tracing.EventFieldTags.None">
205 <summary>Specifies no tag and is equal to zero.</summary>
208 <member name="T:System.Diagnostics.Tracing.EventIgnoreAttribute">
209 <summary>Specifies a property should be ignored when writing an event type with the <see cref="M:System.Diagnostics.Tracing.EventSource.Write``1(System.String,System.Diagnostics.Tracing.EventSourceOptions@,``0@)"></see> method.</summary>
211 <member name="M:System.Diagnostics.Tracing.EventIgnoreAttribute.#ctor">
212 <summary>Initializes a new instance of the <see cref="T:System.Diagnostics.Tracing.EventIgnoreAttribute"></see> class.</summary>
214 <member name="T:System.Diagnostics.Tracing.EventKeywords">
215 <summary>Defines the standard keywords that apply to events.</summary>
217 <member name="F:System.Diagnostics.Tracing.EventKeywords.All">
218 <summary>All the bits are set to 1, representing every possible group of events.</summary>
221 <member name="F:System.Diagnostics.Tracing.EventKeywords.AuditFailure">
222 <summary>Attached to all failed security audit events. Use this keyword only for events in the security log.</summary>
225 <member name="F:System.Diagnostics.Tracing.EventKeywords.AuditSuccess">
226 <summary>Attached to all successful security audit events. Use this keyword only for events in the security log.</summary>
229 <member name="F:System.Diagnostics.Tracing.EventKeywords.CorrelationHint">
230 <summary>Attached to transfer events where the related activity ID (correlation ID) is a computed value and is not guaranteed to be unique (that is, it is not a real GUID).</summary>
233 <member name="F:System.Diagnostics.Tracing.EventKeywords.EventLogClassic">
234 <summary>Attached to events that are raised by using the RaiseEvent function.</summary>
237 <member name="F:System.Diagnostics.Tracing.EventKeywords.MicrosoftTelemetry">
238 <summary>Attached to all Microsoft telemetry events.</summary>
241 <member name="F:System.Diagnostics.Tracing.EventKeywords.None">
242 <summary>No filtering on keywords is performed when the event is published.</summary>
245 <member name="F:System.Diagnostics.Tracing.EventKeywords.Sqm">
246 <summary>Attached to all Service Quality Mechanism (SQM) events.</summary>
249 <member name="F:System.Diagnostics.Tracing.EventKeywords.WdiContext">
250 <summary>Attached to all Windows Diagnostics Infrastructure (WDI) context events.</summary>
253 <member name="F:System.Diagnostics.Tracing.EventKeywords.WdiDiagnostic">
254 <summary>Attached to all Windows Diagnostics Infrastructure (WDI) diagnostic events.</summary>
257 <member name="T:System.Diagnostics.Tracing.EventLevel">
258 <summary>Identifies the level of an event.</summary>
260 <member name="F:System.Diagnostics.Tracing.EventLevel.Critical">
261 <summary>This level corresponds to a critical error, which is a serious error that has caused a major failure.</summary>
264 <member name="F:System.Diagnostics.Tracing.EventLevel.Error">
265 <summary>This level adds standard errors that signify a problem.</summary>
268 <member name="F:System.Diagnostics.Tracing.EventLevel.Informational">
269 <summary>This level adds informational events or messages that are not errors. These events can help trace the progress or state of an application.</summary>
272 <member name="F:System.Diagnostics.Tracing.EventLevel.LogAlways">
273 <summary>No level filtering is done on the event.</summary>
276 <member name="F:System.Diagnostics.Tracing.EventLevel.Verbose">
277 <summary>This level adds lengthy events or messages. It causes all events to be logged.</summary>
280 <member name="F:System.Diagnostics.Tracing.EventLevel.Warning">
281 <summary>This level adds warning events (for example, events that are published because a disk is nearing full capacity).</summary>
284 <member name="T:System.Diagnostics.Tracing.EventListener">
287 <member name="M:System.Diagnostics.Tracing.EventListener.#ctor">
290 <member name="M:System.Diagnostics.Tracing.EventListener.DisableEvents(System.Diagnostics.Tracing.EventSource)">
291 <param name="eventSource"></param>
293 <member name="M:System.Diagnostics.Tracing.EventListener.Dispose">
296 <member name="M:System.Diagnostics.Tracing.EventListener.EnableEvents(System.Diagnostics.Tracing.EventSource,System.Diagnostics.Tracing.EventLevel)">
297 <param name="eventSource"></param>
298 <param name="level"></param>
300 <member name="M:System.Diagnostics.Tracing.EventListener.EnableEvents(System.Diagnostics.Tracing.EventSource,System.Diagnostics.Tracing.EventLevel,System.Diagnostics.Tracing.EventKeywords)">
301 <param name="eventSource"></param>
302 <param name="level"></param>
303 <param name="matchAnyKeyword"></param>
305 <member name="M:System.Diagnostics.Tracing.EventListener.EnableEvents(System.Diagnostics.Tracing.EventSource,System.Diagnostics.Tracing.EventLevel,System.Diagnostics.Tracing.EventKeywords,System.Collections.Generic.IDictionary{System.String,System.String})">
306 <param name="eventSource"></param>
307 <param name="level"></param>
308 <param name="matchAnyKeyword"></param>
309 <param name="arguments"></param>
311 <member name="E:System.Diagnostics.Tracing.EventListener.EventSourceCreated">
314 <member name="M:System.Diagnostics.Tracing.EventListener.EventSourceIndex(System.Diagnostics.Tracing.EventSource)">
315 <param name="eventSource"></param>
318 <member name="E:System.Diagnostics.Tracing.EventListener.EventWritten">
321 <member name="M:System.Diagnostics.Tracing.EventListener.OnEventSourceCreated(System.Diagnostics.Tracing.EventSource)">
322 <param name="eventSource"></param>
324 <member name="M:System.Diagnostics.Tracing.EventListener.OnEventWritten(System.Diagnostics.Tracing.EventWrittenEventArgs)">
325 <param name="eventData"></param>
327 <member name="T:System.Diagnostics.Tracing.EventManifestOptions">
328 <summary>Specifies how the ETW manifest for the event source is generated.</summary>
330 <member name="F:System.Diagnostics.Tracing.EventManifestOptions.AllCultures">
331 <summary>Generates a resources node under the localization folder for every satellite assembly provided.</summary>
334 <member name="F:System.Diagnostics.Tracing.EventManifestOptions.AllowEventSourceOverride">
335 <summary>Overrides the default behavior that the current <see cref="T:System.Diagnostics.Tracing.EventSource"></see> must be the base class of the user-defined type passed to the write method. This enables the validation of .NET event sources.</summary>
338 <member name="F:System.Diagnostics.Tracing.EventManifestOptions.None">
339 <summary>No options are specified.</summary>
342 <member name="F:System.Diagnostics.Tracing.EventManifestOptions.OnlyIfNeededForRegistration">
343 <summary>A manifest is generated only the event source must be registered on the host computer.</summary>
346 <member name="F:System.Diagnostics.Tracing.EventManifestOptions.Strict">
347 <summary>Causes an exception to be raised if any inconsistencies occur when writing the manifest file.</summary>
350 <member name="T:System.Diagnostics.Tracing.EventOpcode">
351 <summary>Defines the standard operation codes that the event source attaches to events.</summary>
353 <member name="F:System.Diagnostics.Tracing.EventOpcode.DataCollectionStart">
354 <summary>A trace collection start event.</summary>
357 <member name="F:System.Diagnostics.Tracing.EventOpcode.DataCollectionStop">
358 <summary>A trace collection stop event.</summary>
361 <member name="F:System.Diagnostics.Tracing.EventOpcode.Extension">
362 <summary>An extension event.</summary>
365 <member name="F:System.Diagnostics.Tracing.EventOpcode.Info">
366 <summary>An informational event.</summary>
369 <member name="F:System.Diagnostics.Tracing.EventOpcode.Receive">
370 <summary>An event that is published when one activity in an application receives data.</summary>
373 <member name="F:System.Diagnostics.Tracing.EventOpcode.Reply">
374 <summary>An event that is published after an activity in an application replies to an event.</summary>
377 <member name="F:System.Diagnostics.Tracing.EventOpcode.Resume">
378 <summary>An event that is published after an activity in an application resumes from a suspended state. The event should follow an event that has the <see cref="F:System.Diagnostics.Tracing.EventOpcode.Suspend"></see> operation code.</summary>
381 <member name="F:System.Diagnostics.Tracing.EventOpcode.Send">
382 <summary>An event that is published when one activity in an application transfers data or system resources to another activity.</summary>
385 <member name="F:System.Diagnostics.Tracing.EventOpcode.Start">
386 <summary>An event that is published when an application starts a new transaction or activity. This operation code can be embedded within another transaction or activity when multiple events that have the <see cref="F:System.Diagnostics.Tracing.EventOpcode.Start"></see> code follow each other without an intervening event that has a <see cref="F:System.Diagnostics.Tracing.EventOpcode.Stop"></see> code.</summary>
389 <member name="F:System.Diagnostics.Tracing.EventOpcode.Stop">
390 <summary>An event that is published when an activity or a transaction in an application ends. The event corresponds to the last unpaired event that has a <see cref="F:System.Diagnostics.Tracing.EventOpcode.Start"></see> operation code.</summary>
393 <member name="F:System.Diagnostics.Tracing.EventOpcode.Suspend">
394 <summary>An event that is published when an activity in an application is suspended.</summary>
397 <member name="T:System.Diagnostics.Tracing.EventSource.EventData">
398 <summary>Provides the event data for creating fast <see cref="Overload:System.Diagnostics.Tracing.EventSource.WriteEvent"></see> overloads by using the <see cref="M:System.Diagnostics.Tracing.EventSource.WriteEventCore(System.Int32,System.Int32,System.Diagnostics.Tracing.EventSource.EventData*)"></see> method.</summary>
400 <member name="P:System.Diagnostics.Tracing.EventSource.EventData.DataPointer">
401 <summary>Gets or sets the pointer to the data for the new <see cref="Overload:System.Diagnostics.Tracing.EventSource.WriteEvent"></see> overload.</summary>
402 <returns>The pointer to the data.</returns>
404 <member name="P:System.Diagnostics.Tracing.EventSource.EventData.Size">
405 <summary>Gets or sets the number of payload items in the new <see cref="Overload:System.Diagnostics.Tracing.EventSource.WriteEvent"></see> overload.</summary>
406 <returns>The number of payload items in the new overload.</returns>
408 <member name="T:System.Diagnostics.Tracing.EventSource">
409 <summary>Provides the ability to create events for event tracing for Windows (ETW).</summary>
411 <member name="M:System.Diagnostics.Tracing.EventSource.#ctor">
412 <summary>Creates a new instance of the <see cref="T:System.Diagnostics.Tracing.EventSource"></see> class.</summary>
414 <member name="M:System.Diagnostics.Tracing.EventSource.#ctor(System.Boolean)">
415 <summary>Creates a new instance of the <see cref="T:System.Diagnostics.Tracing.EventSource"></see> class and specifies whether to throw an exception when an error occurs in the underlying Windows code.</summary>
416 <param name="throwOnEventWriteErrors">true to throw an exception when an error occurs in the underlying Windows code; otherwise, false.</param>
418 <member name="M:System.Diagnostics.Tracing.EventSource.#ctor(System.Diagnostics.Tracing.EventSourceSettings)">
419 <summary>Creates a new instance of the <see cref="T:System.Diagnostics.Tracing.EventSource"></see> class with the specified configuration settings.</summary>
420 <param name="settings">A bitwise combination of the enumeration values that specify the configuration settings to apply to the event source.</param>
422 <member name="M:System.Diagnostics.Tracing.EventSource.#ctor(System.String)">
423 <summary>Creates a new instance of the <see cref="T:System.Diagnostics.Tracing.EventSource"></see> class with the specified name.</summary>
424 <param name="eventSourceName">The name to apply to the event source. Must not be null.</param>
425 <exception cref="T:System.ArgumentNullException"><paramref name="eventSourceName">eventSourceName</paramref> is null.</exception>
427 <member name="M:System.Diagnostics.Tracing.EventSource.#ctor(System.Diagnostics.Tracing.EventSourceSettings,System.String[])">
428 <summary>Initializes a new instance of the <see cref="T:System.Diagnostics.Tracing.EventSource"></see> to be used with non-contract events that contains the specified settings and traits.</summary>
429 <param name="settings">A bitwise combination of the enumeration values that specify the configuration settings to apply to the event source.</param>
430 <param name="traits">The key-value pairs that specify traits for the event source.</param>
431 <exception cref="T:System.ArgumentException"><paramref name="traits">traits</paramref> is not specified in key-value pairs.</exception>
433 <member name="M:System.Diagnostics.Tracing.EventSource.#ctor(System.String,System.Diagnostics.Tracing.EventSourceSettings)">
434 <summary>Creates a new instance of the <see cref="T:System.Diagnostics.Tracing.EventSource"></see> class with the specified name and settings.</summary>
435 <param name="eventSourceName">The name to apply to the event source. Must not be null.</param>
436 <param name="config">A bitwise combination of the enumeration values that specify the configuration settings to apply to the event source.</param>
437 <exception cref="T:System.ArgumentNullException"><paramref name="eventSourceName">eventSourceName</paramref> is null.</exception>
439 <member name="M:System.Diagnostics.Tracing.EventSource.#ctor(System.String,System.Diagnostics.Tracing.EventSourceSettings,System.String[])">
440 <summary>Creates a new instance of the <see cref="T:System.Diagnostics.Tracing.EventSource"></see> class with the specified configuration settings.</summary>
441 <param name="eventSourceName">The name to apply to the event source. Must not be null.</param>
442 <param name="config">A bitwise combination of the enumeration values that specify the configuration settings to apply to the event source.</param>
443 <param name="traits">The key-value pairs that specify traits for the event source.</param>
444 <exception cref="T:System.ArgumentNullException"><paramref name="eventSourceName">eventSourceName</paramref> is null.</exception>
445 <exception cref="T:System.ArgumentException"><paramref name="traits">traits</paramref> is not specified in key-value pairs.</exception>
447 <member name="P:System.Diagnostics.Tracing.EventSource.ConstructionException">
448 <summary>[Supported in the .NET Framework 4.5.1 and later versions] Gets any exception that was thrown during the construction of the event source.</summary>
449 <returns>The exception that was thrown during the construction of the event source, or null if no exception was thrown.</returns>
451 <member name="P:System.Diagnostics.Tracing.EventSource.CurrentThreadActivityId">
452 <summary>[Supported in the .NET Framework 4.5.1 and later versions] Gets the activity ID of the current thread.</summary>
453 <returns>The activity ID of the current thread.</returns>
455 <member name="M:System.Diagnostics.Tracing.EventSource.Dispose">
456 <summary>Releases all resources used by the current instance of the <see cref="T:System.Diagnostics.Tracing.EventSource"></see> class.</summary>
458 <member name="M:System.Diagnostics.Tracing.EventSource.Dispose(System.Boolean)">
459 <summary>Releases the unmanaged resources used by the <see cref="T:System.Diagnostics.Tracing.EventSource"></see> class and optionally releases the managed resources.</summary>
460 <param name="disposing">true to release both managed and unmanaged resources; false to release only unmanaged resources.</param>
462 <member name="E:System.Diagnostics.Tracing.EventSource.EventCommandExecuted">
463 <summary>Occurs when a command comes from an event listener.</summary>
466 <member name="M:System.Diagnostics.Tracing.EventSource.Finalize">
467 <summary>Allows the <see cref="T:System.Diagnostics.Tracing.EventSource"></see> object to attempt to free resources and perform other cleanup operations before the object is reclaimed by garbage collection.</summary>
469 <member name="M:System.Diagnostics.Tracing.EventSource.GenerateManifest(System.Type,System.String,System.Diagnostics.Tracing.EventManifestOptions)">
470 <summary>Returns a string of the XML manifest that is associated with the current event source.</summary>
471 <param name="eventSourceType">The type of the event source.</param>
472 <param name="assemblyPathToIncludeInManifest">The path to the assembly file (.dll) file to include in the <see cref="http://msdn.microsoft.com/library/windows/desktop/aa384022(v=vs.85).aspx">provider</see> element of the manifest.</param>
473 <param name="flags">A bitwise combination of the enumeration values that specify how the manifest is generated.</param>
474 <returns>The XML data string or null.</returns>
476 <member name="M:System.Diagnostics.Tracing.EventSource.GenerateManifest(System.Type,System.String)">
477 <summary>Returns a string of the XML manifest that is associated with the current event source.</summary>
478 <param name="eventSourceType">The type of the event source.</param>
479 <param name="assemblyPathToIncludeInManifest">The path to the assembly file (.dll) to include in the <see cref="http://msdn.microsoft.com/library/windows/desktop/aa384022(v=vs.85).aspx">provider</see> element of the manifest.</param>
480 <returns>The XML data string.</returns>
482 <member name="M:System.Diagnostics.Tracing.EventSource.GetGuid(System.Type)">
483 <summary>Gets the unique identifier for this implementation of the event source.</summary>
484 <param name="eventSourceType">The type of the event source.</param>
485 <returns>A unique identifier for this event source type.</returns>
487 <member name="M:System.Diagnostics.Tracing.EventSource.GetName(System.Type)">
488 <summary>Gets the friendly name of the event source.</summary>
489 <param name="eventSourceType">The type of the event source.</param>
490 <returns>The friendly name of the event source. The default is the simple name of the class.</returns>
492 <member name="M:System.Diagnostics.Tracing.EventSource.GetSources">
493 <summary>Gets a snapshot of all the event sources for the application domain.</summary>
494 <returns>An enumeration of all the event sources in the application domain.</returns>
496 <member name="M:System.Diagnostics.Tracing.EventSource.GetTrait(System.String)">
497 <summary>Gets the trait value associated with the specified key.</summary>
498 <param name="key">The key of the trait to get.</param>
499 <returns>The trait value associated with the specified key. If the key is not found, returns null.</returns>
501 <member name="P:System.Diagnostics.Tracing.EventSource.Guid">
502 <summary>The unique identifier for the event source.</summary>
503 <returns>A unique identifier for the event source.</returns>
505 <member name="M:System.Diagnostics.Tracing.EventSource.IsEnabled">
506 <summary>Determines whether the current event source is enabled.</summary>
507 <returns>true if the current event source is enabled; otherwise, false.</returns>
509 <member name="M:System.Diagnostics.Tracing.EventSource.IsEnabled(System.Diagnostics.Tracing.EventLevel,System.Diagnostics.Tracing.EventKeywords)">
510 <summary>Determines whether the current event source that has the specified level and keyword is enabled.</summary>
511 <param name="level">The level of the event source.</param>
512 <param name="keywords">The keyword of the event source.</param>
513 <returns>true if the event source is enabled; otherwise, false.</returns>
515 <member name="M:System.Diagnostics.Tracing.EventSource.IsEnabled(System.Diagnostics.Tracing.EventLevel,System.Diagnostics.Tracing.EventKeywords,System.Diagnostics.Tracing.EventChannel)">
516 <summary>Determines whether the current event source is enabled for events with the specified level, keywords and channel.</summary>
517 <param name="level">The event level to check. An event source will be considered enabled when its level is greater than or equal to level.</param>
518 <param name="keywords">The event keywords to check.</param>
519 <param name="channel">The event channel to check.</param>
520 <returns>true if the event source is enabled for the specified event level, keywords and channel; otherwise, false. The result of this method is only an approximation of whether a particular event is active. Use it to avoid expensive computation for logging when logging is disabled. Event sources may have additional filtering that determines their activity..</returns>
522 <member name="P:System.Diagnostics.Tracing.EventSource.Name">
523 <summary>The friendly name of the class that is derived from the event source.</summary>
524 <returns>The friendly name of the derived class. The default is the simple name of the class.</returns>
526 <member name="M:System.Diagnostics.Tracing.EventSource.OnEventCommand(System.Diagnostics.Tracing.EventCommandEventArgs)">
527 <summary>Called when the current event source is updated by the controller.</summary>
528 <param name="command">The arguments for the event.</param>
530 <member name="M:System.Diagnostics.Tracing.EventSource.SendCommand(System.Diagnostics.Tracing.EventSource,System.Diagnostics.Tracing.EventCommand,System.Collections.Generic.IDictionary{System.String,System.String})">
531 <summary>Sends a command to a specified event source.</summary>
532 <param name="eventSource">The event source to send the command to.</param>
533 <param name="command">The event command to send.</param>
534 <param name="commandArguments">The arguments for the event command.</param>
536 <member name="M:System.Diagnostics.Tracing.EventSource.SetCurrentThreadActivityId(System.Guid)">
537 <summary>[Supported in the .NET Framework 4.5.1 and later versions] Sets the activity ID on the current thread.</summary>
538 <param name="activityId">The current thread's new activity ID, or <see cref="F:System.Guid.Empty"></see> to indicate that work on the current thread is not associated with any activity.</param>
540 <member name="M:System.Diagnostics.Tracing.EventSource.SetCurrentThreadActivityId(System.Guid,System.Guid@)">
541 <summary>[Supported in the .NET Framework 4.5.1 and later versions] Sets the activity ID on the current thread, and returns the previous activity ID.</summary>
542 <param name="activityId">The current thread's new activity ID, or <see cref="F:System.Guid.Empty"></see> to indicate that work on the current thread is not associated with any activity.</param>
543 <param name="oldActivityThatWillContinue">When this method returns, contains the previous activity ID on the current thread.</param>
545 <member name="P:System.Diagnostics.Tracing.EventSource.Settings">
546 <summary>Gets the settings applied to this event source.</summary>
547 <returns>The settings applied to this event source.</returns>
549 <member name="M:System.Diagnostics.Tracing.EventSource.ToString">
550 <summary>Obtains a string representation of the current event source instance.</summary>
551 <returns>The name and unique identifier that identify the current event source.</returns>
553 <member name="M:System.Diagnostics.Tracing.EventSource.Write(System.String)">
554 <summary>Writes an event without fields, but with the specified name and default options.</summary>
555 <param name="eventName">The name of the event to write.</param>
556 <exception cref="T:System.ArgumentNullException"><paramref name="eventName">eventName</paramref> is null.</exception>
558 <member name="M:System.Diagnostics.Tracing.EventSource.Write(System.String,System.Diagnostics.Tracing.EventSourceOptions)">
559 <summary>Writes an event without fields, but with the specified name and options.</summary>
560 <param name="eventName">The name of the event to write.</param>
561 <param name="options">The options such as level, keywords and operation code for the event.</param>
562 <exception cref="T:System.ArgumentNullException"><paramref name="eventName">eventName</paramref> is null.</exception>
564 <member name="M:System.Diagnostics.Tracing.EventSource.Write``1(System.String,``0)">
565 <summary>Writes an event with the specified name and data.</summary>
566 <param name="eventName">The name of the event.</param>
567 <param name="data">The event data. This type must be an anonymous type or marked with the <see cref="T:System.Diagnostics.Tracing.EventDataAttribute"></see> attribute.</param>
568 <typeparam name="T">The type that defines the event and its associated data. This type must be an anonymous type or marked with the <see cref="T:System.Diagnostics.Tracing.EventSourceAttribute"></see> attribute.</typeparam>
570 <member name="M:System.Diagnostics.Tracing.EventSource.Write``1(System.String,System.Diagnostics.Tracing.EventSourceOptions,``0)">
571 <summary>Writes an event with the specified name, event data and options.</summary>
572 <param name="eventName">The name of the event.</param>
573 <param name="options">The event options.</param>
574 <param name="data">The event data. This type must be an anonymous type or marked with the <see cref="T:System.Diagnostics.Tracing.EventDataAttribute"></see> attribute.</param>
575 <typeparam name="T">The type that defines the event and its associated data. This type must be an anonymous type or marked with the <see cref="T:System.Diagnostics.Tracing.EventSourceAttribute"></see> attribute.</typeparam>
577 <member name="M:System.Diagnostics.Tracing.EventSource.Write``1(System.String,System.Diagnostics.Tracing.EventSourceOptions@,``0@)">
578 <summary>Writes an event with the specified name, options and event data.</summary>
579 <param name="eventName">The name of the event.</param>
580 <param name="options">The event options.</param>
581 <param name="data">The event data. This type must be an anonymous type or marked with the <see cref="T:System.Diagnostics.Tracing.EventDataAttribute"></see> attribute.</param>
582 <typeparam name="T">The type that defines the event and its associated data. This type must be an anonymous type or marked with the <see cref="T:System.Diagnostics.Tracing.EventSourceAttribute"></see> attribute.</typeparam>
584 <member name="M:System.Diagnostics.Tracing.EventSource.Write``1(System.String,System.Diagnostics.Tracing.EventSourceOptions@,System.Guid@,System.Guid@,``0@)">
585 <summary>Writes an event with the specified name, options, related activity and event data.</summary>
586 <param name="eventName">The name of the event.</param>
587 <param name="options">The event options.</param>
588 <param name="activityId">The ID of the activity associated with the event.</param>
589 <param name="relatedActivityId">The ID of an associated activity, or <see cref="F:System.Guid.Empty"></see> if there is no associated activity.</param>
590 <param name="data">The event data. This type must be an anonymous type or marked with the <see cref="T:System.Diagnostics.Tracing.EventDataAttribute"></see> attribute.</param>
591 <typeparam name="T">The type that defines the event and its associated data. This type must be an anonymous type or marked with the <see cref="T:System.Diagnostics.Tracing.EventSourceAttribute"></see> attribute.</typeparam>
593 <member name="M:System.Diagnostics.Tracing.EventSource.WriteEvent(System.Int32,System.String,System.String,System.String)">
594 <summary>Writes an event by using the provided event identifier and string arguments.</summary>
595 <param name="eventId">The event identifier. This value should be between 0 and 65535.</param>
596 <param name="arg1">A string argument.</param>
597 <param name="arg2">A string argument.</param>
598 <param name="arg3">A string argument.</param>
600 <member name="M:System.Diagnostics.Tracing.EventSource.WriteEvent(System.Int32,System.String,System.Int32,System.Int32)">
601 <summary>Writes an event by using the provided event identifier and arguments.</summary>
602 <param name="eventId">The event identifier. This value should be between 0 and 65535.</param>
603 <param name="arg1">A string argument.</param>
604 <param name="arg2">A 32 bit integer argument.</param>
605 <param name="arg3">A 32 bit integer argument.</param>
607 <member name="M:System.Diagnostics.Tracing.EventSource.WriteEvent(System.Int32,System.Int64,System.Int64,System.Int64)">
608 <summary>Writes an event by using the provided event identifier and 64-bit arguments.</summary>
609 <param name="eventId">The event identifier. This value should be between 0 and 65535.</param>
610 <param name="arg1">A 64 bit integer argument.</param>
611 <param name="arg2">A 64 bit integer argument.</param>
612 <param name="arg3">A 64 bit integer argument.</param>
614 <member name="M:System.Diagnostics.Tracing.EventSource.WriteEvent(System.Int32,System.Int32,System.Int32,System.Int32)">
615 <summary>Writes an event by using the provided event identifier and 32-bit integer arguments.</summary>
616 <param name="eventId">The event identifier. This value should be between 0 and 65535.</param>
617 <param name="arg1">An integer argument.</param>
618 <param name="arg2">An integer argument.</param>
619 <param name="arg3">An integer argument.</param>
621 <member name="M:System.Diagnostics.Tracing.EventSource.WriteEvent(System.Int32,System.String,System.String)">
622 <summary>Writes an event by using the provided event identifier and string arguments.</summary>
623 <param name="eventId">The event identifier. This value should be between 0 and 65535.</param>
624 <param name="arg1">A string argument.</param>
625 <param name="arg2">A string argument.</param>
627 <member name="M:System.Diagnostics.Tracing.EventSource.WriteEvent(System.Int32,System.String,System.Int64)">
628 <summary>Writes an event by using the provided event identifier and arguments.</summary>
629 <param name="eventId">The event identifier. This value should be between 0 and 65535.</param>
630 <param name="arg1">A string argument.</param>
631 <param name="arg2">A 64 bit integer argument.</param>
633 <member name="M:System.Diagnostics.Tracing.EventSource.WriteEvent(System.Int32,System.String,System.Int32)">
634 <summary>Writes an event by using the provided event identifier and arguments.</summary>
635 <param name="eventId">The event identifier. This value should be between 0 and 65535.</param>
636 <param name="arg1">A string argument.</param>
637 <param name="arg2">A 32 bit integer argument.</param>
639 <member name="M:System.Diagnostics.Tracing.EventSource.WriteEvent(System.Int32,System.Int64,System.String)">
640 <summary>Writes an event by using the provided event identifier and 64-bit integer, and string arguments.</summary>
641 <param name="eventId">The event identifier. This value should be between 0 and 65535.</param>
642 <param name="arg1">A 64-bit integer argument.</param>
643 <param name="arg2">A string argument.</param>
645 <member name="M:System.Diagnostics.Tracing.EventSource.WriteEvent(System.Int32,System.Int64,System.Int64)">
646 <summary>Writes an event by using the provided event identifier and 64-bit arguments.</summary>
647 <param name="eventId">The event identifier. This value should be between 0 and 65535.</param>
648 <param name="arg1">A 64 bit integer argument.</param>
649 <param name="arg2">A 64 bit integer argument.</param>
651 <member name="M:System.Diagnostics.Tracing.EventSource.WriteEvent(System.Int32,System.Int32,System.Int32)">
652 <summary>Writes an event by using the provided event identifier and 32-bit integer arguments.</summary>
653 <param name="eventId">The event identifier. This value should be between 0 and 65535.</param>
654 <param name="arg1">An integer argument.</param>
655 <param name="arg2">An integer argument.</param>
657 <member name="M:System.Diagnostics.Tracing.EventSource.WriteEvent(System.Int32,System.Int32,System.String)">
658 <summary>Writes an event by using the provided event identifier and 32-bit integer and string arguments.</summary>
659 <param name="eventId">The event identifier. This value should be between 0 and 65535.</param>
660 <param name="arg1">A 32-bit integer argument.</param>
661 <param name="arg2">A string argument.</param>
663 <member name="M:System.Diagnostics.Tracing.EventSource.WriteEvent(System.Int32,System.String)">
664 <summary>Writes an event by using the provided event identifier and string argument.</summary>
665 <param name="eventId">The event identifier. This value should be between 0 and 65535.</param>
666 <param name="arg1">A string argument.</param>
668 <member name="M:System.Diagnostics.Tracing.EventSource.WriteEvent(System.Int32,System.Object[])">
669 <summary>Writes an event by using the provided event identifier and array of arguments.</summary>
670 <param name="eventId">The event identifier. This value should be between 0 and 65535.</param>
671 <param name="args">An array of objects.</param>
673 <member name="M:System.Diagnostics.Tracing.EventSource.WriteEvent(System.Int32,System.Int64)">
674 <summary>Writes an event by using the provided event identifier and 64-bit integer argument.</summary>
675 <param name="eventId">The event identifier. This value should be between 0 and 65535.</param>
676 <param name="arg1">A 64 bit integer argument.</param>
678 <member name="M:System.Diagnostics.Tracing.EventSource.WriteEvent(System.Int32,System.Int32)">
679 <summary>Writes an event by using the provided event identifier and 32-bit integer argument.</summary>
680 <param name="eventId">The event identifier. This value should be between 0 and 65535.</param>
681 <param name="arg1">An integer argument.</param>
683 <member name="M:System.Diagnostics.Tracing.EventSource.WriteEvent(System.Int32,System.Byte[])">
684 <summary>Writes an event by using the provided event identifier and byte array argument.</summary>
685 <param name="eventId">The event identifier. This value should be between 0 and 65535.</param>
686 <param name="arg1">A byte array argument.</param>
688 <member name="M:System.Diagnostics.Tracing.EventSource.WriteEvent(System.Int32)">
689 <summary>Writes an event by using the provided event identifier.</summary>
690 <param name="eventId">The event identifier. This value should be between 0 and 65535.</param>
692 <member name="M:System.Diagnostics.Tracing.EventSource.WriteEvent(System.Int32,System.Int64,System.Byte[])">
693 <summary>Writes the event data using the specified indentifier and 64-bit integer and byte array arguments.</summary>
694 <param name="eventId">The event identifier. This value should be between 0 and 65535.</param>
695 <param name="arg1">A 64-bit integer argument.</param>
696 <param name="arg2">A byte array argument.</param>
698 <member name="M:System.Diagnostics.Tracing.EventSource.WriteEventCore(System.Int32,System.Int32,System.Diagnostics.Tracing.EventSource.EventData*)">
699 <summary>Creates a new <see cref="Overload:System.Diagnostics.Tracing.EventSource.WriteEvent"></see> overload by using the provided event identifier and event data.</summary>
700 <param name="eventId">The event identifier.</param>
701 <param name="eventDataCount">The number of event data items.</param>
702 <param name="data">The structure that contains the event data.</param>
704 <member name="M:System.Diagnostics.Tracing.EventSource.WriteEventWithRelatedActivityId(System.Int32,System.Guid,System.Object[])">
705 <summary>[Supported in the .NET Framework 4.5.1 and later versions] Writes an event that indicates that the current activity is related to another activity.</summary>
706 <param name="eventId">An identifier that uniquely identifies this event within the <see cref="T:System.Diagnostics.Tracing.EventSource"></see>.</param>
707 <param name="relatedActivityId">The related activity identifier.</param>
708 <param name="args">An array of objects that contain data about the event.</param>
710 <member name="M:System.Diagnostics.Tracing.EventSource.WriteEventWithRelatedActivityIdCore(System.Int32,System.Guid*,System.Int32,System.Diagnostics.Tracing.EventSource.EventData*)">
711 <summary>[Supported in the .NET Framework 4.5.1 and later versions] Writes an event that indicates that the current activity is related to another activity.</summary>
712 <param name="eventId">An identifier that uniquely identifies this event within the <see cref="T:System.Diagnostics.Tracing.EventSource"></see>.</param>
713 <param name="relatedActivityId">A pointer to the GUID of the related activity ID.</param>
714 <param name="eventDataCount">The number of items in the data field.</param>
715 <param name="data">A pointer to the first item in the event data field.</param>
717 <member name="T:System.Diagnostics.Tracing.EventSourceAttribute">
718 <summary>Allows the event tracing for Windows (ETW) name to be defined independently of the name of the event source class.</summary>
720 <member name="M:System.Diagnostics.Tracing.EventSourceAttribute.#ctor">
721 <summary>Initializes a new instance of the <see cref="T:System.Diagnostics.Tracing.EventSourceAttribute"></see> class.</summary>
723 <member name="P:System.Diagnostics.Tracing.EventSourceAttribute.Guid">
724 <summary>Gets or sets the event source identifier.</summary>
725 <returns>The event source identifier.</returns>
727 <member name="P:System.Diagnostics.Tracing.EventSourceAttribute.LocalizationResources">
728 <summary>Gets or sets the name of the localization resource file.</summary>
729 <returns>The name of the localization resource file, or null if the localization resource file does not exist.</returns>
731 <member name="P:System.Diagnostics.Tracing.EventSourceAttribute.Name">
732 <summary>Gets or sets the name of the event source.</summary>
733 <returns>The name of the event source.</returns>
735 <member name="T:System.Diagnostics.Tracing.EventSourceCreatedEventArgs">
736 <summary>Provides data for the <see cref="E:System.Diagnostics.Tracing.EventListener.EventSourceCreated"></see> event.</summary>
738 <member name="M:System.Diagnostics.Tracing.EventSourceCreatedEventArgs.#ctor">
739 <summary>Initializes a new instance of the <see cref="T:System.Diagnostics.Tracing.EventSourceCreatedEventArgs"></see> class.</summary>
741 <member name="P:System.Diagnostics.Tracing.EventSourceCreatedEventArgs.EventSource">
742 <summary>Get the event source that is attaching to the listener.</summary>
743 <returns>The event source that is attaching to the listener.</returns>
745 <member name="T:System.Diagnostics.Tracing.EventSourceException">
746 <summary>The exception that is thrown when an error occurs during event tracing for Windows (ETW).</summary>
748 <member name="M:System.Diagnostics.Tracing.EventSourceException.#ctor">
749 <summary>Initializes a new instance of the <see cref="T:System.Diagnostics.Tracing.EventSourceException"></see> class.</summary>
751 <member name="M:System.Diagnostics.Tracing.EventSourceException.#ctor(System.String)">
752 <summary>Initializes a new instance of the <see cref="T:System.Diagnostics.Tracing.EventSourceException"></see> class with a specified error message.</summary>
753 <param name="message">The message that describes the error.</param>
755 <member name="M:System.Diagnostics.Tracing.EventSourceException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
756 <summary>Initializes a new instance of the <see cref="T:System.Diagnostics.Tracing.EventSourceException"></see> class with serialized data.</summary>
757 <param name="info">The object that holds the serialized object data.</param>
758 <param name="context">The contextual information about the source or destination.</param>
760 <member name="M:System.Diagnostics.Tracing.EventSourceException.#ctor(System.String,System.Exception)">
761 <summary>Initializes a new instance of the <see cref="T:System.Diagnostics.Tracing.EventSourceException"></see> class with a specified error message and a reference to the inner exception that is the cause of this exception.</summary>
762 <param name="message">The error message that explains the reason for the exception.</param>
763 <param name="innerException">The exception that is the cause of the current exception, or null if no inner exception is specified.</param>
765 <member name="T:System.Diagnostics.Tracing.EventSourceOptions">
766 <summary>Specifies overrides of default event settings such as the log level, keywords and operation code when the <see cref="M:System.Diagnostics.Tracing.EventSource.Write``1(System.String,System.Diagnostics.Tracing.EventSourceOptions,``0)"></see> method is called.</summary>
768 <member name="P:System.Diagnostics.Tracing.EventSourceOptions.ActivityOptions">
769 <summary>The activity options defined for this event source.</summary>
770 <returns>Returns <see cref="T:System.Diagnostics.Tracing.EventActivityOptions"></see>.</returns>
772 <member name="P:System.Diagnostics.Tracing.EventSourceOptions.Keywords">
773 <summary>Gets or sets the keywords applied to the event. If this property is not set, the event’s keywords will be None.</summary>
774 <returns>The keywords applied to the event, or None if no keywords are set.</returns>
776 <member name="P:System.Diagnostics.Tracing.EventSourceOptions.Level">
777 <summary>Gets or sets the event level applied to the event.</summary>
778 <returns>The event level for the event. If not set, the default is Verbose (5).</returns>
780 <member name="P:System.Diagnostics.Tracing.EventSourceOptions.Opcode">
781 <summary>Gets or sets the operation code to use for the specified event.</summary>
782 <returns>The operation code to use for the specified event. If not set, the default is Info (0).</returns>
784 <member name="P:System.Diagnostics.Tracing.EventSourceOptions.Tags">
785 <summary>The event tags defined for this event source.</summary>
786 <returns>Returns <see cref="T:System.Diagnostics.Tracing.EventTags"></see>.</returns>
788 <member name="T:System.Diagnostics.Tracing.EventSourceSettings">
789 <summary>Specifies configuration options for an event source.</summary>
791 <member name="F:System.Diagnostics.Tracing.EventSourceSettings.Default">
792 <summary>None of the special configuration options are enabled.</summary>
795 <member name="F:System.Diagnostics.Tracing.EventSourceSettings.EtwManifestEventFormat">
796 <summary>The ETW listener should use a manifest-based format when raising events. Setting this option is a directive to the ETW listener should use manifest-based format when raising events. This is the default option when defining a type derived from <see cref="T:System.Diagnostics.Tracing.EventSource"></see> using one of the protected <see cref="T:System.Diagnostics.Tracing.EventSource"></see> constructors.</summary>
799 <member name="F:System.Diagnostics.Tracing.EventSourceSettings.EtwSelfDescribingEventFormat">
800 <summary>The ETW listener should use self-describing event format. This is the default option when creating a new instance of the <see cref="T:System.Diagnostics.Tracing.EventSource"></see> using one of the public <see cref="T:System.Diagnostics.Tracing.EventSource"></see> constructors.</summary>
803 <member name="F:System.Diagnostics.Tracing.EventSourceSettings.ThrowOnEventWriteErrors">
804 <summary>The event source throws an exception when an error occurs.</summary>
807 <member name="T:System.Diagnostics.Tracing.EventTags">
808 <summary>Specifies the tracking of activity start and stop events. You should only use the lower 24 bits. For more information, see <see cref="T:System.Diagnostics.Tracing.EventSourceOptions"></see> and <see cref="M:System.Diagnostics.Tracing.EventSource.Write(System.String,System.Diagnostics.Tracing.EventSourceOptions)"></see>.</summary>
810 <member name="F:System.Diagnostics.Tracing.EventTags.None">
811 <summary>Specifies no tag and is equal to zero.</summary>
814 <member name="T:System.Diagnostics.Tracing.EventTask">
815 <summary>Defines the tasks that apply to events.</summary>
817 <member name="F:System.Diagnostics.Tracing.EventTask.None">
818 <summary>Undefined task.</summary>
821 <member name="T:System.Diagnostics.Tracing.EventWrittenEventArgs">
822 <summary>Provides data for the <see cref="M:System.Diagnostics.Tracing.EventListener.OnEventWritten(System.Diagnostics.Tracing.EventWrittenEventArgs)"></see> callback.</summary>
824 <member name="P:System.Diagnostics.Tracing.EventWrittenEventArgs.ActivityId">
825 <summary>[Supported in the .NET Framework 4.5.1 and later versions] Gets the activity ID on the thread that the event was written to.</summary>
826 <returns>The activity ID on the thread that the event was written to.</returns>
828 <member name="P:System.Diagnostics.Tracing.EventWrittenEventArgs.Channel">
829 <summary>Gets the channel for the event.</summary>
830 <returns>The channel for the event.</returns>
832 <member name="P:System.Diagnostics.Tracing.EventWrittenEventArgs.EventId">
833 <summary>Gets the event identifier.</summary>
834 <returns>The event identifier.</returns>
836 <member name="P:System.Diagnostics.Tracing.EventWrittenEventArgs.EventName">
837 <summary>Gets the name of the event.</summary>
838 <returns>The name of the event.</returns>
840 <member name="P:System.Diagnostics.Tracing.EventWrittenEventArgs.EventSource">
841 <summary>Gets the event source object.</summary>
842 <returns>The event source object.</returns>
844 <member name="P:System.Diagnostics.Tracing.EventWrittenEventArgs.Keywords">
845 <summary>Gets the keywords for the event.</summary>
846 <returns>The keywords for the event.</returns>
848 <member name="P:System.Diagnostics.Tracing.EventWrittenEventArgs.Level">
849 <summary>Gets the level of the event.</summary>
850 <returns>The level of the event.</returns>
852 <member name="P:System.Diagnostics.Tracing.EventWrittenEventArgs.Message">
853 <summary>Gets the message for the event.</summary>
854 <returns>The message for the event.</returns>
856 <member name="P:System.Diagnostics.Tracing.EventWrittenEventArgs.Opcode">
857 <summary>Gets the operation code for the event.</summary>
858 <returns>The operation code for the event.</returns>
860 <member name="P:System.Diagnostics.Tracing.EventWrittenEventArgs.Payload">
861 <summary>Gets the payload for the event.</summary>
862 <returns>The payload for the event.</returns>
864 <member name="P:System.Diagnostics.Tracing.EventWrittenEventArgs.PayloadNames">
865 <summary>Returns a list of strings that represent the property names of the event.</summary>
866 <returns>Returns <see cref="T:System.Collections.ObjectModel.ReadOnlyCollection`1"></see>.</returns>
868 <member name="P:System.Diagnostics.Tracing.EventWrittenEventArgs.RelatedActivityId">
869 <summary>[Supported in the .NET Framework 4.5.1 and later versions] Gets the identifier of an activity that is related to the activity represented by the current instance.</summary>
870 <returns>The identifier of the related activity, or <see cref="F:System.Guid.Empty"></see> if there is no related activity.</returns>
872 <member name="P:System.Diagnostics.Tracing.EventWrittenEventArgs.Tags">
873 <summary>Returns the tags specified in the call to the <see cref="M:System.Diagnostics.Tracing.EventSource.Write(System.String,System.Diagnostics.Tracing.EventSourceOptions)"></see> method.</summary>
874 <returns>Returns <see cref="T:System.Diagnostics.Tracing.EventTags"></see>.</returns>
876 <member name="P:System.Diagnostics.Tracing.EventWrittenEventArgs.Task">
877 <summary>Gets the task for the event.</summary>
878 <returns>The task for the event.</returns>
880 <member name="P:System.Diagnostics.Tracing.EventWrittenEventArgs.Version">
881 <summary>Gets the version of the event.</summary>
882 <returns>The version of the event.</returns>
884 <member name="T:System.Diagnostics.Tracing.NonEventAttribute">
885 <summary>Identifies a method that is not generating an event.</summary>
887 <member name="M:System.Diagnostics.Tracing.NonEventAttribute.#ctor">
888 <summary>Creates a new instance of the <see cref="T:System.Diagnostics.Tracing.NonEventAttribute"></see> class.</summary>