1 <?xml version="1.0" encoding="utf-8"?><doc>
3 <name>System.Diagnostics.Tracing</name>
6 <member name="T:System.Diagnostics.Tracing.EventActivityOptions">
7 <summary>Specifies the tracking of activity start and stop events.</summary>
9 <member name="F:System.Diagnostics.Tracing.EventActivityOptions.Detachable">
10 <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>
13 <member name="F:System.Diagnostics.Tracing.EventActivityOptions.Disable">
14 <summary>Turn off start and stop tracking.</summary>
17 <member name="F:System.Diagnostics.Tracing.EventActivityOptions.None">
18 <summary>Use the default behavior for start and stop tracking.</summary>
21 <member name="F:System.Diagnostics.Tracing.EventActivityOptions.Recursive">
22 <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>
25 <member name="T:System.Diagnostics.Tracing.EventAttribute">
26 <summary>Specifies additional event schema information for an event.</summary>
28 <member name="M:System.Diagnostics.Tracing.EventAttribute.#ctor(System.Int32)">
29 <summary>Initializes a new instance of the <see cref="T:System.Diagnostics.Tracing.EventAttribute"></see> class with the specified event identifier.</summary>
30 <param name="eventId">The event identifier for the event.</param>
32 <member name="P:System.Diagnostics.Tracing.EventAttribute.ActivityOptions">
33 <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>
34 <returns>Returns <see cref="System.Diagnostics.Tracing.EventActivityOptions"></see>.</returns>
36 <member name="P:System.Diagnostics.Tracing.EventAttribute.Channel">
37 <summary>Gets or sets an additional event log where the event should be written.</summary>
38 <returns>An additional event log where the event should be written.</returns>
40 <member name="P:System.Diagnostics.Tracing.EventAttribute.EventId">
41 <summary>Gets or sets the identifier for the event.</summary>
42 <returns>The event identifier. This value should be between 0 and 65535.</returns>
44 <member name="P:System.Diagnostics.Tracing.EventAttribute.Keywords">
45 <summary>Gets or sets the keywords for the event.</summary>
46 <returns>A bitwise combination of the enumeration values.</returns>
48 <member name="P:System.Diagnostics.Tracing.EventAttribute.Level">
49 <summary>Gets or sets the level for the event.</summary>
50 <returns>One of the enumeration values that specifies the level for the event.</returns>
52 <member name="P:System.Diagnostics.Tracing.EventAttribute.Message">
53 <summary>Gets or sets the message for the event.</summary>
54 <returns>The message for the event.</returns>
56 <member name="P:System.Diagnostics.Tracing.EventAttribute.Opcode">
57 <summary>Gets or sets the operation code for the event.</summary>
58 <returns>One of the enumeration values that specifies the operation code.</returns>
60 <member name="P:System.Diagnostics.Tracing.EventAttribute.Tags">
61 <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>
62 <returns>Returns the <see cref="System.Diagnostics.Tracing.EventTags"></see> value.</returns>
64 <member name="P:System.Diagnostics.Tracing.EventAttribute.Task">
65 <summary>Gets or sets the task for the event.</summary>
66 <returns>The task for the event.</returns>
68 <member name="P:System.Diagnostics.Tracing.EventAttribute.Version">
69 <summary>Gets or sets the version of the event.</summary>
70 <returns>The version of the event.</returns>
72 <member name="T:System.Diagnostics.Tracing.EventChannel">
73 <summary>Specifies the event log channel for the event.</summary>
75 <member name="F:System.Diagnostics.Tracing.EventChannel.Admin">
76 <summary>The administrator log channel.</summary>
79 <member name="F:System.Diagnostics.Tracing.EventChannel.Analytic">
80 <summary>The analytic channel.</summary>
83 <member name="F:System.Diagnostics.Tracing.EventChannel.Debug">
84 <summary>The debug channel.</summary>
87 <member name="F:System.Diagnostics.Tracing.EventChannel.None">
88 <summary>No channel specified.</summary>
91 <member name="F:System.Diagnostics.Tracing.EventChannel.Operational">
92 <summary>The operational channel.</summary>
95 <member name="T:System.Diagnostics.Tracing.EventCommand">
96 <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>
98 <member name="F:System.Diagnostics.Tracing.EventCommand.Disable">
99 <summary>Disable the event.</summary>
102 <member name="F:System.Diagnostics.Tracing.EventCommand.Enable">
103 <summary>Enable the event.</summary>
106 <member name="F:System.Diagnostics.Tracing.EventCommand.SendManifest">
107 <summary>Send the manifest.</summary>
110 <member name="F:System.Diagnostics.Tracing.EventCommand.Update">
111 <summary>Update the event.</summary>
114 <member name="T:System.Diagnostics.Tracing.EventCommandEventArgs">
115 <summary>Provides the arguments for the <see cref="M:System.Diagnostics.Tracing.EventSource.OnEventCommand(System.Diagnostics.Tracing.EventCommandEventArgs)"></see> callback.</summary>
117 <member name="P:System.Diagnostics.Tracing.EventCommandEventArgs.Arguments">
118 <summary>Gets the array of arguments for the callback.</summary>
119 <returns>An array of callback arguments.</returns>
121 <member name="P:System.Diagnostics.Tracing.EventCommandEventArgs.Command">
122 <summary>Gets the command for the callback.</summary>
123 <returns>The callback command.</returns>
125 <member name="M:System.Diagnostics.Tracing.EventCommandEventArgs.DisableEvent(System.Int32)">
126 <summary>Disables the event that have the specified identifier.</summary>
127 <param name="eventId">The identifier of the event to disable.</param>
128 <returns>true if <paramref name="eventId">eventId</paramref> is in range; otherwise, false.</returns>
130 <member name="M:System.Diagnostics.Tracing.EventCommandEventArgs.EnableEvent(System.Int32)">
131 <summary>Enables the event that has the specified identifier.</summary>
132 <param name="eventId">The identifier of the event to enable.</param>
133 <returns>true if <paramref name="eventId">eventId</paramref> is in range; otherwise, false.</returns>
135 <member name="T:System.Diagnostics.Tracing.EventCounter">
136 <summary>Provides the ability to collect statistics for very frequent events through the <see cref="T:System.Diagnostics.Tracing.EventSource"></see> class.</summary>
138 <member name="M:System.Diagnostics.Tracing.EventCounter.#ctor(System.String,System.Diagnostics.Tracing.EventSource)">
139 <summary>Initializes a new instance of the <see cref="T:System.Diagnostics.Tracing.EventCounter"></see> class.</summary>
140 <param name="name">The event counter name.</param>
141 <param name="eventSource">The event source.</param>
142 <exception cref="T:System.ArgumentNullException"><paramref name="name">name</paramref> is null.
144 <paramref name="eventSource">eventSource</paramref> is null.</exception>
146 <member name="M:System.Diagnostics.Tracing.EventCounter.WriteMetric(System.Single)">
147 <summary>Writes the metric if performance counters are on.</summary>
148 <param name="value">The value to be written.</param>
150 <member name="T:System.Diagnostics.Tracing.EventDataAttribute">
151 <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>
153 <member name="M:System.Diagnostics.Tracing.EventDataAttribute.#ctor">
154 <summary>Initializes a new instance of the <see cref="T:System.Diagnostics.Tracing.EventDataAttribute"></see> class.</summary>
156 <member name="P:System.Diagnostics.Tracing.EventDataAttribute.Name">
157 <summary>Gets or set the name to apply to an event if the event type or property is not explicitly named.</summary>
158 <returns>The name to apply to the event or property.</returns>
160 <member name="T:System.Diagnostics.Tracing.EventFieldAttribute">
161 <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>
163 <member name="M:System.Diagnostics.Tracing.EventFieldAttribute.#ctor">
164 <summary>Initializes a new instance of the <see cref="T:System.Diagnostics.Tracing.EventFieldAttribute"></see> class.</summary>
166 <member name="P:System.Diagnostics.Tracing.EventFieldAttribute.Format">
167 <summary>Gets and sets the value that specifies how to format the value of a user-defined type.</summary>
168 <returns>Returns a <see cref="System.Diagnostics.Tracing.EventFieldFormat"></see> value.</returns>
170 <member name="P:System.Diagnostics.Tracing.EventFieldAttribute.Tags">
171 <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&#39;t one of the supported types.</summary>
172 <returns>Returns <see cref="System.Diagnostics.Tracing.EventFieldTags"></see>.</returns>
174 <member name="T:System.Diagnostics.Tracing.EventFieldFormat">
175 <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>
177 <member name="F:System.Diagnostics.Tracing.EventFieldFormat.Boolean">
178 <summary>Boolean</summary>
181 <member name="F:System.Diagnostics.Tracing.EventFieldFormat.Default">
182 <summary>Default.</summary>
185 <member name="F:System.Diagnostics.Tracing.EventFieldFormat.Hexadecimal">
186 <summary>Hexadecimal.</summary>
189 <member name="F:System.Diagnostics.Tracing.EventFieldFormat.HResult">
190 <summary>HResult.</summary>
193 <member name="F:System.Diagnostics.Tracing.EventFieldFormat.Json">
194 <summary>JSON.</summary>
197 <member name="F:System.Diagnostics.Tracing.EventFieldFormat.String">
198 <summary>String.</summary>
201 <member name="F:System.Diagnostics.Tracing.EventFieldFormat.Xml">
202 <summary>XML.</summary>
205 <member name="T:System.Diagnostics.Tracing.EventFieldTags">
206 <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>
208 <member name="F:System.Diagnostics.Tracing.EventFieldTags.None">
209 <summary>Specifies no tag and is equal to zero.</summary>
212 <member name="T:System.Diagnostics.Tracing.EventIgnoreAttribute">
213 <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>
215 <member name="M:System.Diagnostics.Tracing.EventIgnoreAttribute.#ctor">
216 <summary>Initializes a new instance of the <see cref="T:System.Diagnostics.Tracing.EventIgnoreAttribute"></see> class.</summary>
218 <member name="T:System.Diagnostics.Tracing.EventKeywords">
219 <summary>Defines the standard keywords that apply to events.</summary>
221 <member name="F:System.Diagnostics.Tracing.EventKeywords.All">
222 <summary>All the bits are set to 1, representing every possible group of events.</summary>
225 <member name="F:System.Diagnostics.Tracing.EventKeywords.AuditFailure">
226 <summary>Attached to all failed security audit events. Use this keyword only for events in the security log.</summary>
229 <member name="F:System.Diagnostics.Tracing.EventKeywords.AuditSuccess">
230 <summary>Attached to all successful security audit events. Use this keyword only for events in the security log.</summary>
233 <member name="F:System.Diagnostics.Tracing.EventKeywords.CorrelationHint">
234 <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>
237 <member name="F:System.Diagnostics.Tracing.EventKeywords.EventLogClassic">
238 <summary>Attached to events that are raised by using the RaiseEvent function.</summary>
241 <member name="F:System.Diagnostics.Tracing.EventKeywords.MicrosoftTelemetry">
242 <summary>Attached to all Microsoft telemetry events.</summary>
245 <member name="F:System.Diagnostics.Tracing.EventKeywords.None">
246 <summary>No filtering on keywords is performed when the event is published.</summary>
249 <member name="F:System.Diagnostics.Tracing.EventKeywords.Sqm">
250 <summary>Attached to all Service Quality Mechanism (SQM) events.</summary>
253 <member name="F:System.Diagnostics.Tracing.EventKeywords.WdiContext">
254 <summary>Attached to all Windows Diagnostics Infrastructure (WDI) context events.</summary>
257 <member name="F:System.Diagnostics.Tracing.EventKeywords.WdiDiagnostic">
258 <summary>Attached to all Windows Diagnostics Infrastructure (WDI) diagnostic events.</summary>
261 <member name="T:System.Diagnostics.Tracing.EventLevel">
262 <summary>Identifies the level of an event.</summary>
264 <member name="F:System.Diagnostics.Tracing.EventLevel.Critical">
265 <summary>This level corresponds to a critical error, which is a serious error that has caused a major failure.</summary>
268 <member name="F:System.Diagnostics.Tracing.EventLevel.Error">
269 <summary>This level adds standard errors that signify a problem.</summary>
272 <member name="F:System.Diagnostics.Tracing.EventLevel.Informational">
273 <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>
276 <member name="F:System.Diagnostics.Tracing.EventLevel.LogAlways">
277 <summary>No level filtering is done on the event.</summary>
280 <member name="F:System.Diagnostics.Tracing.EventLevel.Verbose">
281 <summary>This level adds lengthy events or messages. It causes all events to be logged.</summary>
284 <member name="F:System.Diagnostics.Tracing.EventLevel.Warning">
285 <summary>This level adds warning events (for example, events that are published because a disk is nearing full capacity).</summary>
288 <member name="T:System.Diagnostics.Tracing.EventListener">
289 <summary>Provides methods for enabling and disabling events from event sources.</summary>
291 <member name="M:System.Diagnostics.Tracing.EventListener.#ctor">
292 <summary>Creates a new instance of the <see cref="T:System.Diagnostics.Tracing.EventListener"></see> class.</summary>
294 <member name="M:System.Diagnostics.Tracing.EventListener.DisableEvents(System.Diagnostics.Tracing.EventSource)">
295 <summary>Disables all events for the specified event source.</summary>
296 <param name="eventSource">The event source to disable events for.</param>
298 <member name="M:System.Diagnostics.Tracing.EventListener.Dispose">
299 <summary>Releases the resources used by the current instance of the <see cref="T:System.Diagnostics.Tracing.EventListener"></see> class.</summary>
301 <member name="M:System.Diagnostics.Tracing.EventListener.EnableEvents(System.Diagnostics.Tracing.EventSource,System.Diagnostics.Tracing.EventLevel)">
302 <summary>Enables events for the specified event source that has the specified verbosity level or lower.</summary>
303 <param name="eventSource">The event source to enable events for.</param>
304 <param name="level">The level of events to enable.</param>
306 <member name="M:System.Diagnostics.Tracing.EventListener.EnableEvents(System.Diagnostics.Tracing.EventSource,System.Diagnostics.Tracing.EventLevel,System.Diagnostics.Tracing.EventKeywords)">
307 <summary>Enables events for the specified event source that has the specified verbosity level or lower, and matching keyword flags.</summary>
308 <param name="eventSource">The event source to enable events for.</param>
309 <param name="level">The level of events to enable.</param>
310 <param name="matchAnyKeyword">The keyword flags necessary to enable the events.</param>
312 <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})">
313 <summary>Enables events for the specified event source that has the specified verbosity level or lower, matching event keyword flag, and matching arguments.</summary>
314 <param name="eventSource">The event source to enable events for.</param>
315 <param name="level">The level of events to enable.</param>
316 <param name="matchAnyKeyword">The keyword flags necessary to enable the events.</param>
317 <param name="arguments">The arguments to be matched to enable the events.</param>
319 <member name="E:System.Diagnostics.Tracing.EventListener.EventSourceCreated">
320 <summary>Occurs when an event source (<see cref="T:System.Diagnostics.Tracing.EventSource"></see> object) is attached to the dispatcher.</summary>
322 <member name="M:System.Diagnostics.Tracing.EventListener.EventSourceIndex(System.Diagnostics.Tracing.EventSource)">
323 <summary>Gets a small non-negative number that represents the specified event source.</summary>
324 <param name="eventSource">The event source to find the index for.</param>
325 <returns>A small non-negative number that represents the specified event source.</returns>
327 <member name="E:System.Diagnostics.Tracing.EventListener.EventWritten">
328 <summary>Occurs when an event has been written by an event source (<see cref="T:System.Diagnostics.Tracing.EventSource"></see> object) for which the event listener has enabled events.</summary>
330 <member name="M:System.Diagnostics.Tracing.EventListener.OnEventSourceCreated(System.Diagnostics.Tracing.EventSource)">
331 <summary>Called for all existing event sources when the event listener is created and when a new event source is attached to the listener.</summary>
332 <param name="eventSource">The event source.</param>
334 <member name="M:System.Diagnostics.Tracing.EventListener.OnEventWritten(System.Diagnostics.Tracing.EventWrittenEventArgs)">
335 <summary>Called whenever an event has been written by an event source for which the event listener has enabled events.</summary>
336 <param name="eventData">The event arguments that describe the event.</param>
338 <member name="T:System.Diagnostics.Tracing.EventManifestOptions">
339 <summary>Specifies how the ETW manifest for the event source is generated.</summary>
341 <member name="F:System.Diagnostics.Tracing.EventManifestOptions.AllCultures">
342 <summary>Generates a resources node under the localization folder for every satellite assembly provided.</summary>
345 <member name="F:System.Diagnostics.Tracing.EventManifestOptions.AllowEventSourceOverride">
346 <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>
349 <member name="F:System.Diagnostics.Tracing.EventManifestOptions.None">
350 <summary>No options are specified.</summary>
353 <member name="F:System.Diagnostics.Tracing.EventManifestOptions.OnlyIfNeededForRegistration">
354 <summary>A manifest is generated only the event source must be registered on the host computer.</summary>
357 <member name="F:System.Diagnostics.Tracing.EventManifestOptions.Strict">
358 <summary>Causes an exception to be raised if any inconsistencies occur when writing the manifest file.</summary>
361 <member name="T:System.Diagnostics.Tracing.EventOpcode">
362 <summary>Defines the standard operation codes that the event source attaches to events.</summary>
364 <member name="F:System.Diagnostics.Tracing.EventOpcode.DataCollectionStart">
365 <summary>A trace collection start event.</summary>
368 <member name="F:System.Diagnostics.Tracing.EventOpcode.DataCollectionStop">
369 <summary>A trace collection stop event.</summary>
372 <member name="F:System.Diagnostics.Tracing.EventOpcode.Extension">
373 <summary>An extension event.</summary>
376 <member name="F:System.Diagnostics.Tracing.EventOpcode.Info">
377 <summary>An informational event.</summary>
380 <member name="F:System.Diagnostics.Tracing.EventOpcode.Receive">
381 <summary>An event that is published when one activity in an application receives data.</summary>
384 <member name="F:System.Diagnostics.Tracing.EventOpcode.Reply">
385 <summary>An event that is published after an activity in an application replies to an event.</summary>
388 <member name="F:System.Diagnostics.Tracing.EventOpcode.Resume">
389 <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>
392 <member name="F:System.Diagnostics.Tracing.EventOpcode.Send">
393 <summary>An event that is published when one activity in an application transfers data or system resources to another activity.</summary>
396 <member name="F:System.Diagnostics.Tracing.EventOpcode.Start">
397 <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>
400 <member name="F:System.Diagnostics.Tracing.EventOpcode.Stop">
401 <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>
404 <member name="F:System.Diagnostics.Tracing.EventOpcode.Suspend">
405 <summary>An event that is published when an activity in an application is suspended.</summary>
408 <member name="T:System.Diagnostics.Tracing.EventSource.EventData">
409 <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>
411 <member name="P:System.Diagnostics.Tracing.EventSource.EventData.DataPointer">
412 <summary>Gets or sets the pointer to the data for the new <see cref="Overload:System.Diagnostics.Tracing.EventSource.WriteEvent"></see> overload.</summary>
413 <returns>The pointer to the data.</returns>
415 <member name="P:System.Diagnostics.Tracing.EventSource.EventData.Size">
416 <summary>Gets or sets the number of payload items in the new <see cref="Overload:System.Diagnostics.Tracing.EventSource.WriteEvent"></see> overload.</summary>
417 <returns>The number of payload items in the new overload.</returns>
419 <member name="T:System.Diagnostics.Tracing.EventSource">
420 <summary>Provides the ability to create events for event tracing for Windows (ETW).</summary>
422 <member name="M:System.Diagnostics.Tracing.EventSource.#ctor">
423 <summary>Creates a new instance of the <see cref="T:System.Diagnostics.Tracing.EventSource"></see> class.</summary>
425 <member name="M:System.Diagnostics.Tracing.EventSource.#ctor(System.Boolean)">
426 <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>
427 <param name="throwOnEventWriteErrors">true to throw an exception when an error occurs in the underlying Windows code; otherwise, false.</param>
429 <member name="M:System.Diagnostics.Tracing.EventSource.#ctor(System.Diagnostics.Tracing.EventSourceSettings)">
430 <summary>Creates a new instance of the <see cref="T:System.Diagnostics.Tracing.EventSource"></see> class with the specified configuration settings.</summary>
431 <param name="settings">A bitwise combination of the enumeration values that specify the configuration settings to apply to the event source.</param>
433 <member name="M:System.Diagnostics.Tracing.EventSource.#ctor(System.String)">
434 <summary>Creates a new instance of the <see cref="T:System.Diagnostics.Tracing.EventSource"></see> class with the specified name.</summary>
435 <param name="eventSourceName">The name to apply to the event source. Must not be null.</param>
436 <exception cref="T:System.ArgumentNullException"><paramref name="eventSourceName">eventSourceName</paramref> is null.</exception>
438 <member name="M:System.Diagnostics.Tracing.EventSource.#ctor(System.Diagnostics.Tracing.EventSourceSettings,System.String[])">
439 <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>
440 <param name="settings">A bitwise combination of the enumeration values that specify the configuration settings to apply to the event source.</param>
441 <param name="traits">The key-value pairs that specify traits for the event source.</param>
442 <exception cref="T:System.ArgumentException"><paramref name="traits">traits</paramref> is not specified in key-value pairs.</exception>
444 <member name="M:System.Diagnostics.Tracing.EventSource.#ctor(System.String,System.Diagnostics.Tracing.EventSourceSettings)">
445 <summary>Creates a new instance of the <see cref="T:System.Diagnostics.Tracing.EventSource"></see> class with the specified name and settings.</summary>
446 <param name="eventSourceName">The name to apply to the event source. Must not be null.</param>
447 <param name="config">A bitwise combination of the enumeration values that specify the configuration settings to apply to the event source.</param>
448 <exception cref="T:System.ArgumentNullException"><paramref name="eventSourceName">eventSourceName</paramref> is null.</exception>
450 <member name="M:System.Diagnostics.Tracing.EventSource.#ctor(System.String,System.Diagnostics.Tracing.EventSourceSettings,System.String[])">
451 <summary>Creates a new instance of the <see cref="T:System.Diagnostics.Tracing.EventSource"></see> class with the specified configuration settings.</summary>
452 <param name="eventSourceName">The name to apply to the event source. Must not be null.</param>
453 <param name="config">A bitwise combination of the enumeration values that specify the configuration settings to apply to the event source.</param>
454 <param name="traits">The key-value pairs that specify traits for the event source.</param>
455 <exception cref="T:System.ArgumentNullException"><paramref name="eventSourceName">eventSourceName</paramref> is null.</exception>
456 <exception cref="T:System.ArgumentException"><paramref name="traits">traits</paramref> is not specified in key-value pairs.</exception>
458 <member name="P:System.Diagnostics.Tracing.EventSource.ConstructionException">
459 <summary>[Supported in the .NET Framework 4.5.1 and later versions]
460 Gets any exception that was thrown during the construction of the event source.</summary>
461 <returns>The exception that was thrown during the construction of the event source, or null if no exception was thrown.</returns>
463 <member name="P:System.Diagnostics.Tracing.EventSource.CurrentThreadActivityId">
464 <summary>[Supported in the .NET Framework 4.5.1 and later versions]
465 Gets the activity ID of the current thread.</summary>
466 <returns>The activity ID of the current thread.</returns>
468 <member name="M:System.Diagnostics.Tracing.EventSource.Dispose">
469 <summary>Releases all resources used by the current instance of the <see cref="T:System.Diagnostics.Tracing.EventSource"></see> class.</summary>
471 <member name="M:System.Diagnostics.Tracing.EventSource.Dispose(System.Boolean)">
472 <summary>Releases the unmanaged resources used by the <see cref="T:System.Diagnostics.Tracing.EventSource"></see> class and optionally releases the managed resources.</summary>
473 <param name="disposing">true to release both managed and unmanaged resources; false to release only unmanaged resources.</param>
475 <member name="E:System.Diagnostics.Tracing.EventSource.EventCommandExecuted">
476 <summary>Occurs when a command comes from an event listener.</summary>
478 <member name="M:System.Diagnostics.Tracing.EventSource.Finalize">
479 <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>
481 <member name="M:System.Diagnostics.Tracing.EventSource.GenerateManifest(System.Type,System.String,System.Diagnostics.Tracing.EventManifestOptions)">
482 <summary>Returns a string of the XML manifest that is associated with the current event source.</summary>
483 <param name="eventSourceType">The type of the event source.</param>
484 <param name="assemblyPathToIncludeInManifest">The path to the assembly file (.dll) file to include in the provider element of the manifest.</param>
485 <param name="flags">A bitwise combination of the enumeration values that specify how the manifest is generated.</param>
486 <returns>The XML data string or null.</returns>
488 <member name="M:System.Diagnostics.Tracing.EventSource.GenerateManifest(System.Type,System.String)">
489 <summary>Returns a string of the XML manifest that is associated with the current event source.</summary>
490 <param name="eventSourceType">The type of the event source.</param>
491 <param name="assemblyPathToIncludeInManifest">The path to the assembly file (.dll) to include in the provider element of the manifest.</param>
492 <returns>The XML data string.</returns>
494 <member name="M:System.Diagnostics.Tracing.EventSource.GetGuid(System.Type)">
495 <summary>Gets the unique identifier for this implementation of the event source.</summary>
496 <param name="eventSourceType">The type of the event source.</param>
497 <returns>A unique identifier for this event source type.</returns>
499 <member name="M:System.Diagnostics.Tracing.EventSource.GetName(System.Type)">
500 <summary>Gets the friendly name of the event source.</summary>
501 <param name="eventSourceType">The type of the event source.</param>
502 <returns>The friendly name of the event source. The default is the simple name of the class.</returns>
504 <member name="M:System.Diagnostics.Tracing.EventSource.GetSources">
505 <summary>Gets a snapshot of all the event sources for the application domain.</summary>
506 <returns>An enumeration of all the event sources in the application domain.</returns>
508 <member name="M:System.Diagnostics.Tracing.EventSource.GetTrait(System.String)">
509 <summary>Gets the trait value associated with the specified key.</summary>
510 <param name="key">The key of the trait to get.</param>
511 <returns>The trait value associated with the specified key. If the key is not found, returns null.</returns>
513 <member name="P:System.Diagnostics.Tracing.EventSource.Guid">
514 <summary>The unique identifier for the event source.</summary>
515 <returns>A unique identifier for the event source.</returns>
517 <member name="M:System.Diagnostics.Tracing.EventSource.IsEnabled">
518 <summary>Determines whether the current event source is enabled.</summary>
519 <returns>true if the current event source is enabled; otherwise, false.</returns>
521 <member name="M:System.Diagnostics.Tracing.EventSource.IsEnabled(System.Diagnostics.Tracing.EventLevel,System.Diagnostics.Tracing.EventKeywords)">
522 <summary>Determines whether the current event source that has the specified level and keyword is enabled.</summary>
523 <param name="level">The level of the event source.</param>
524 <param name="keywords">The keyword of the event source.</param>
525 <returns>true if the event source is enabled; otherwise, false.</returns>
527 <member name="M:System.Diagnostics.Tracing.EventSource.IsEnabled(System.Diagnostics.Tracing.EventLevel,System.Diagnostics.Tracing.EventKeywords,System.Diagnostics.Tracing.EventChannel)">
528 <summary>Determines whether the current event source is enabled for events with the specified level, keywords and channel.</summary>
529 <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>
530 <param name="keywords">The event keywords to check.</param>
531 <param name="channel">The event channel to check.</param>
532 <returns>true if the event source is enabled for the specified event level, keywords and channel; otherwise, false.
533 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>
535 <member name="P:System.Diagnostics.Tracing.EventSource.Name">
536 <summary>The friendly name of the class that is derived from the event source.</summary>
537 <returns>The friendly name of the derived class. The default is the simple name of the class.</returns>
539 <member name="M:System.Diagnostics.Tracing.EventSource.OnEventCommand(System.Diagnostics.Tracing.EventCommandEventArgs)">
540 <summary>Called when the current event source is updated by the controller.</summary>
541 <param name="command">The arguments for the event.</param>
543 <member name="M:System.Diagnostics.Tracing.EventSource.SendCommand(System.Diagnostics.Tracing.EventSource,System.Diagnostics.Tracing.EventCommand,System.Collections.Generic.IDictionary{System.String,System.String})">
544 <summary>Sends a command to a specified event source.</summary>
545 <param name="eventSource">The event source to send the command to.</param>
546 <param name="command">The event command to send.</param>
547 <param name="commandArguments">The arguments for the event command.</param>
549 <member name="M:System.Diagnostics.Tracing.EventSource.SetCurrentThreadActivityId(System.Guid)">
550 <summary>[Supported in the .NET Framework 4.5.1 and later versions]
551 Sets the activity ID on the current thread.</summary>
552 <param name="activityId">The current thread&#39;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>
554 <member name="M:System.Diagnostics.Tracing.EventSource.SetCurrentThreadActivityId(System.Guid,System.Guid@)">
555 <summary>[Supported in the .NET Framework 4.5.1 and later versions]
556 Sets the activity ID on the current thread, and returns the previous activity ID.</summary>
557 <param name="activityId">The current thread&#39;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>
558 <param name="oldActivityThatWillContinue">When this method returns, contains the previous activity ID on the current thread.</param>
560 <member name="P:System.Diagnostics.Tracing.EventSource.Settings">
561 <summary>Gets the settings applied to this event source.</summary>
562 <returns>The settings applied to this event source.</returns>
564 <member name="M:System.Diagnostics.Tracing.EventSource.ToString">
565 <summary>Obtains a string representation of the current event source instance.</summary>
566 <returns>The name and unique identifier that identify the current event source.</returns>
568 <member name="M:System.Diagnostics.Tracing.EventSource.Write(System.String)">
569 <summary>Writes an event without fields, but with the specified name and default options.</summary>
570 <param name="eventName">The name of the event to write.</param>
571 <exception cref="T:System.ArgumentNullException"><paramref name="eventName">eventName</paramref> is null.</exception>
573 <member name="M:System.Diagnostics.Tracing.EventSource.Write(System.String,System.Diagnostics.Tracing.EventSourceOptions)">
574 <summary>Writes an event without fields, but with the specified name and options.</summary>
575 <param name="eventName">The name of the event to write.</param>
576 <param name="options">The options such as level, keywords and operation code for the event.</param>
577 <exception cref="T:System.ArgumentNullException"><paramref name="eventName">eventName</paramref> is null.</exception>
579 <member name="M:System.Diagnostics.Tracing.EventSource.Write``1(System.String,``0)">
580 <summary>Writes an event with the specified name and data.</summary>
581 <param name="eventName">The name of the event.</param>
582 <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>
583 <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>
585 <member name="M:System.Diagnostics.Tracing.EventSource.Write``1(System.String,System.Diagnostics.Tracing.EventSourceOptions,``0)">
586 <summary>Writes an event with the specified name, event data and options.</summary>
587 <param name="eventName">The name of the event.</param>
588 <param name="options">The event options.</param>
589 <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>
590 <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>
592 <member name="M:System.Diagnostics.Tracing.EventSource.Write``1(System.String,System.Diagnostics.Tracing.EventSourceOptions@,``0@)">
593 <summary>Writes an event with the specified name, options and event data.</summary>
594 <param name="eventName">The name of the event.</param>
595 <param name="options">The event options.</param>
596 <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>
597 <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>
599 <member name="M:System.Diagnostics.Tracing.EventSource.Write``1(System.String,System.Diagnostics.Tracing.EventSourceOptions@,System.Guid@,System.Guid@,``0@)">
600 <summary>Writes an event with the specified name, options, related activity and event data.</summary>
601 <param name="eventName">The name of the event.</param>
602 <param name="options">The event options.</param>
603 <param name="activityId">The ID of the activity associated with the event.</param>
604 <param name="relatedActivityId">The ID of an associated activity, or <see cref="F:System.Guid.Empty"></see> if there is no associated activity.</param>
605 <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>
606 <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>
608 <member name="M:System.Diagnostics.Tracing.EventSource.WriteEvent(System.Int32,System.String,System.String,System.String)">
609 <summary>Writes an event by using the provided event identifier and string arguments.</summary>
610 <param name="eventId">The event identifier. This value should be between 0 and 65535.</param>
611 <param name="arg1">A string argument.</param>
612 <param name="arg2">A string argument.</param>
613 <param name="arg3">A string argument.</param>
615 <member name="M:System.Diagnostics.Tracing.EventSource.WriteEvent(System.Int32,System.String,System.Int32,System.Int32)">
616 <summary>Writes an event by using the provided event identifier and arguments.</summary>
617 <param name="eventId">The event identifier. This value should be between 0 and 65535.</param>
618 <param name="arg1">A string argument.</param>
619 <param name="arg2">A 32 bit integer argument.</param>
620 <param name="arg3">A 32 bit integer argument.</param>
622 <member name="M:System.Diagnostics.Tracing.EventSource.WriteEvent(System.Int32,System.Int64,System.Int64,System.Int64)">
623 <summary>Writes an event by using the provided event identifier and 64-bit arguments.</summary>
624 <param name="eventId">The event identifier. This value should be between 0 and 65535.</param>
625 <param name="arg1">A 64 bit integer argument.</param>
626 <param name="arg2">A 64 bit integer argument.</param>
627 <param name="arg3">A 64 bit integer argument.</param>
629 <member name="M:System.Diagnostics.Tracing.EventSource.WriteEvent(System.Int32,System.Int32,System.Int32,System.Int32)">
630 <summary>Writes an event by using the provided event identifier and 32-bit integer arguments.</summary>
631 <param name="eventId">The event identifier. This value should be between 0 and 65535.</param>
632 <param name="arg1">An integer argument.</param>
633 <param name="arg2">An integer argument.</param>
634 <param name="arg3">An integer argument.</param>
636 <member name="M:System.Diagnostics.Tracing.EventSource.WriteEvent(System.Int32,System.String,System.String)">
637 <summary>Writes an event by using the provided event identifier and string arguments.</summary>
638 <param name="eventId">The event identifier. This value should be between 0 and 65535.</param>
639 <param name="arg1">A string argument.</param>
640 <param name="arg2">A string argument.</param>
642 <member name="M:System.Diagnostics.Tracing.EventSource.WriteEvent(System.Int32,System.String,System.Int64)">
643 <summary>Writes an event by using the provided event identifier and arguments.</summary>
644 <param name="eventId">The event identifier. This value should be between 0 and 65535.</param>
645 <param name="arg1">A string argument.</param>
646 <param name="arg2">A 64 bit integer argument.</param>
648 <member name="M:System.Diagnostics.Tracing.EventSource.WriteEvent(System.Int32,System.String,System.Int32)">
649 <summary>Writes an event by using the provided event identifier and arguments.</summary>
650 <param name="eventId">The event identifier. This value should be between 0 and 65535.</param>
651 <param name="arg1">A string argument.</param>
652 <param name="arg2">A 32 bit integer argument.</param>
654 <member name="M:System.Diagnostics.Tracing.EventSource.WriteEvent(System.Int32,System.Int64,System.String)">
655 <summary>Writes an event by using the provided event identifier and 64-bit integer, and string arguments.</summary>
656 <param name="eventId">The event identifier. This value should be between 0 and 65535.</param>
657 <param name="arg1">A 64-bit integer argument.</param>
658 <param name="arg2">A string argument.</param>
660 <member name="M:System.Diagnostics.Tracing.EventSource.WriteEvent(System.Int32,System.Int64,System.Int64)">
661 <summary>Writes an event by using the provided event identifier and 64-bit arguments.</summary>
662 <param name="eventId">The event identifier. This value should be between 0 and 65535.</param>
663 <param name="arg1">A 64 bit integer argument.</param>
664 <param name="arg2">A 64 bit integer argument.</param>
666 <member name="M:System.Diagnostics.Tracing.EventSource.WriteEvent(System.Int32,System.Int32,System.Int32)">
667 <summary>Writes an event by using the provided event identifier and 32-bit integer arguments.</summary>
668 <param name="eventId">The event identifier. This value should be between 0 and 65535.</param>
669 <param name="arg1">An integer argument.</param>
670 <param name="arg2">An integer argument.</param>
672 <member name="M:System.Diagnostics.Tracing.EventSource.WriteEvent(System.Int32,System.Int32,System.String)">
673 <summary>Writes an event by using the provided event identifier and 32-bit integer and string arguments.</summary>
674 <param name="eventId">The event identifier. This value should be between 0 and 65535.</param>
675 <param name="arg1">A 32-bit integer argument.</param>
676 <param name="arg2">A string argument.</param>
678 <member name="M:System.Diagnostics.Tracing.EventSource.WriteEvent(System.Int32,System.String)">
679 <summary>Writes an event by using the provided event identifier and string argument.</summary>
680 <param name="eventId">The event identifier. This value should be between 0 and 65535.</param>
681 <param name="arg1">A string argument.</param>
683 <member name="M:System.Diagnostics.Tracing.EventSource.WriteEvent(System.Int32,System.Object[])">
684 <summary>Writes an event by using the provided event identifier and array of arguments.</summary>
685 <param name="eventId">The event identifier. This value should be between 0 and 65535.</param>
686 <param name="args">An array of objects.</param>
688 <member name="M:System.Diagnostics.Tracing.EventSource.WriteEvent(System.Int32,System.Int64)">
689 <summary>Writes an event by using the provided event identifier and 64-bit integer argument.</summary>
690 <param name="eventId">The event identifier. This value should be between 0 and 65535.</param>
691 <param name="arg1">A 64 bit integer argument.</param>
693 <member name="M:System.Diagnostics.Tracing.EventSource.WriteEvent(System.Int32,System.Int32)">
694 <summary>Writes an event by using the provided event identifier and 32-bit integer argument.</summary>
695 <param name="eventId">The event identifier. This value should be between 0 and 65535.</param>
696 <param name="arg1">An integer argument.</param>
698 <member name="M:System.Diagnostics.Tracing.EventSource.WriteEvent(System.Int32,System.Byte[])">
699 <summary>Writes an event by using the provided event identifier and byte array argument.</summary>
700 <param name="eventId">The event identifier. This value should be between 0 and 65535.</param>
701 <param name="arg1">A byte array argument.</param>
703 <member name="M:System.Diagnostics.Tracing.EventSource.WriteEvent(System.Int32)">
704 <summary>Writes an event by using the provided event identifier.</summary>
705 <param name="eventId">The event identifier. This value should be between 0 and 65535.</param>
707 <member name="M:System.Diagnostics.Tracing.EventSource.WriteEvent(System.Int32,System.Int64,System.Byte[])">
708 <summary>Writes the event data using the specified indentifier and 64-bit integer and byte array arguments.</summary>
709 <param name="eventId">The event identifier. This value should be between 0 and 65535.</param>
710 <param name="arg1">A 64-bit integer argument.</param>
711 <param name="arg2">A byte array argument.</param>
713 <member name="M:System.Diagnostics.Tracing.EventSource.WriteEventCore(System.Int32,System.Int32,System.Diagnostics.Tracing.EventSource.EventData*)">
714 <summary>Creates a new <see cref="Overload:System.Diagnostics.Tracing.EventSource.WriteEvent"></see> overload by using the provided event identifier and event data.</summary>
715 <param name="eventId">The event identifier.</param>
716 <param name="eventDataCount">The number of event data items.</param>
717 <param name="data">The structure that contains the event data.</param>
719 <member name="M:System.Diagnostics.Tracing.EventSource.WriteEventWithRelatedActivityId(System.Int32,System.Guid,System.Object[])">
720 <summary>[Supported in the .NET Framework 4.5.1 and later versions]
721 Writes an event that indicates that the current activity is related to another activity.</summary>
722 <param name="eventId">An identifier that uniquely identifies this event within the <see cref="T:System.Diagnostics.Tracing.EventSource"></see>.</param>
723 <param name="relatedActivityId">The related activity identifier.</param>
724 <param name="args">An array of objects that contain data about the event.</param>
726 <member name="M:System.Diagnostics.Tracing.EventSource.WriteEventWithRelatedActivityIdCore(System.Int32,System.Guid*,System.Int32,System.Diagnostics.Tracing.EventSource.EventData*)">
727 <summary>[Supported in the .NET Framework 4.5.1 and later versions]
728 Writes an event that indicates that the current activity is related to another activity.</summary>
729 <param name="eventId">An identifier that uniquely identifies this event within the <see cref="T:System.Diagnostics.Tracing.EventSource"></see>.</param>
730 <param name="relatedActivityId">A pointer to the GUID of the related activity ID.</param>
731 <param name="eventDataCount">The number of items in the data field.</param>
732 <param name="data">A pointer to the first item in the event data field.</param>
734 <member name="T:System.Diagnostics.Tracing.EventSourceAttribute">
735 <summary>Allows the event tracing for Windows (ETW) name to be defined independently of the name of the event source class.</summary>
737 <member name="M:System.Diagnostics.Tracing.EventSourceAttribute.#ctor">
738 <summary>Initializes a new instance of the <see cref="T:System.Diagnostics.Tracing.EventSourceAttribute"></see> class.</summary>
740 <member name="P:System.Diagnostics.Tracing.EventSourceAttribute.Guid">
741 <summary>Gets or sets the event source identifier.</summary>
742 <returns>The event source identifier.</returns>
744 <member name="P:System.Diagnostics.Tracing.EventSourceAttribute.LocalizationResources">
745 <summary>Gets or sets the name of the localization resource file.</summary>
746 <returns>The name of the localization resource file, or null if the localization resource file does not exist.</returns>
748 <member name="P:System.Diagnostics.Tracing.EventSourceAttribute.Name">
749 <summary>Gets or sets the name of the event source.</summary>
750 <returns>The name of the event source.</returns>
752 <member name="T:System.Diagnostics.Tracing.EventSourceCreatedEventArgs">
753 <summary>Provides data for the <see cref="E:System.Diagnostics.Tracing.EventListener.EventSourceCreated"></see> event.</summary>
755 <member name="M:System.Diagnostics.Tracing.EventSourceCreatedEventArgs.#ctor">
756 <summary>Initializes a new instance of the <see cref="T:System.Diagnostics.Tracing.EventSourceCreatedEventArgs"></see> class.</summary>
758 <member name="P:System.Diagnostics.Tracing.EventSourceCreatedEventArgs.EventSource">
759 <summary>Get the event source that is attaching to the listener.</summary>
760 <returns>The event source that is attaching to the listener.</returns>
762 <member name="T:System.Diagnostics.Tracing.EventSourceException">
763 <summary>The exception that is thrown when an error occurs during event tracing for Windows (ETW).</summary>
765 <member name="M:System.Diagnostics.Tracing.EventSourceException.#ctor">
766 <summary>Initializes a new instance of the <see cref="T:System.Diagnostics.Tracing.EventSourceException"></see> class.</summary>
768 <member name="M:System.Diagnostics.Tracing.EventSourceException.#ctor(System.String)">
769 <summary>Initializes a new instance of the <see cref="T:System.Diagnostics.Tracing.EventSourceException"></see> class with a specified error message.</summary>
770 <param name="message">The message that describes the error.</param>
772 <member name="M:System.Diagnostics.Tracing.EventSourceException.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
773 <summary>Initializes a new instance of the <see cref="T:System.Diagnostics.Tracing.EventSourceException"></see> class with serialized data.</summary>
774 <param name="info">The object that holds the serialized object data.</param>
775 <param name="context">The contextual information about the source or destination.</param>
777 <member name="M:System.Diagnostics.Tracing.EventSourceException.#ctor(System.String,System.Exception)">
778 <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>
779 <param name="message">The error message that explains the reason for the exception.</param>
780 <param name="innerException">The exception that is the cause of the current exception, or null if no inner exception is specified.</param>
782 <member name="T:System.Diagnostics.Tracing.EventSourceOptions">
783 <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>
785 <member name="P:System.Diagnostics.Tracing.EventSourceOptions.ActivityOptions">
786 <summary>The activity options defined for this event source.</summary>
787 <returns>Returns <see cref="System.Diagnostics.Tracing.EventActivityOptions"></see>.</returns>
789 <member name="P:System.Diagnostics.Tracing.EventSourceOptions.Keywords">
790 <summary>Gets or sets the keywords applied to the event. If this property is not set, the event’s keywords will be None.</summary>
791 <returns>The keywords applied to the event, or None if no keywords are set.</returns>
793 <member name="P:System.Diagnostics.Tracing.EventSourceOptions.Level">
794 <summary>Gets or sets the event level applied to the event.</summary>
795 <returns>The event level for the event. If not set, the default is Verbose (5).</returns>
797 <member name="P:System.Diagnostics.Tracing.EventSourceOptions.Opcode">
798 <summary>Gets or sets the operation code to use for the specified event.</summary>
799 <returns>The operation code to use for the specified event. If not set, the default is Info (0).</returns>
801 <member name="P:System.Diagnostics.Tracing.EventSourceOptions.Tags">
802 <summary>The event tags defined for this event source.</summary>
803 <returns>Returns <see cref="System.Diagnostics.Tracing.EventTags"></see>.</returns>
805 <member name="T:System.Diagnostics.Tracing.EventSourceSettings">
806 <summary>Specifies configuration options for an event source.</summary>
808 <member name="F:System.Diagnostics.Tracing.EventSourceSettings.Default">
809 <summary>None of the special configuration options are enabled.</summary>
812 <member name="F:System.Diagnostics.Tracing.EventSourceSettings.EtwManifestEventFormat">
813 <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>
816 <member name="F:System.Diagnostics.Tracing.EventSourceSettings.EtwSelfDescribingEventFormat">
817 <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>
820 <member name="F:System.Diagnostics.Tracing.EventSourceSettings.ThrowOnEventWriteErrors">
821 <summary>The event source throws an exception when an error occurs.</summary>
824 <member name="T:System.Diagnostics.Tracing.EventTags">
825 <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>
827 <member name="F:System.Diagnostics.Tracing.EventTags.None">
828 <summary>Specifies no tag and is equal to zero.</summary>
831 <member name="T:System.Diagnostics.Tracing.EventTask">
832 <summary>Defines the tasks that apply to events.</summary>
834 <member name="F:System.Diagnostics.Tracing.EventTask.None">
835 <summary>Undefined task.</summary>
838 <member name="T:System.Diagnostics.Tracing.EventWrittenEventArgs">
839 <summary>Provides data for the <see cref="M:System.Diagnostics.Tracing.EventListener.OnEventWritten(System.Diagnostics.Tracing.EventWrittenEventArgs)"></see> callback.</summary>
841 <member name="P:System.Diagnostics.Tracing.EventWrittenEventArgs.ActivityId">
842 <summary>[Supported in the .NET Framework 4.5.1 and later versions]
843 Gets the activity ID on the thread that the event was written to.</summary>
844 <returns>The activity ID on the thread that the event was written to.</returns>
846 <member name="P:System.Diagnostics.Tracing.EventWrittenEventArgs.Channel">
847 <summary>Gets the channel for the event.</summary>
848 <returns>The channel for the event.</returns>
850 <member name="P:System.Diagnostics.Tracing.EventWrittenEventArgs.EventId">
851 <summary>Gets the event identifier.</summary>
852 <returns>The event identifier.</returns>
854 <member name="P:System.Diagnostics.Tracing.EventWrittenEventArgs.EventName">
855 <summary>Gets the name of the event.</summary>
856 <returns>The name of the event.</returns>
858 <member name="P:System.Diagnostics.Tracing.EventWrittenEventArgs.EventSource">
859 <summary>Gets the event source object.</summary>
860 <returns>The event source object.</returns>
862 <member name="P:System.Diagnostics.Tracing.EventWrittenEventArgs.Keywords">
863 <summary>Gets the keywords for the event.</summary>
864 <returns>The keywords for the event.</returns>
866 <member name="P:System.Diagnostics.Tracing.EventWrittenEventArgs.Level">
867 <summary>Gets the level of the event.</summary>
868 <returns>The level of the event.</returns>
870 <member name="P:System.Diagnostics.Tracing.EventWrittenEventArgs.Message">
871 <summary>Gets the message for the event.</summary>
872 <returns>The message for the event.</returns>
874 <member name="P:System.Diagnostics.Tracing.EventWrittenEventArgs.Opcode">
875 <summary>Gets the operation code for the event.</summary>
876 <returns>The operation code for the event.</returns>
878 <member name="P:System.Diagnostics.Tracing.EventWrittenEventArgs.Payload">
879 <summary>Gets the payload for the event.</summary>
880 <returns>The payload for the event.</returns>
882 <member name="P:System.Diagnostics.Tracing.EventWrittenEventArgs.PayloadNames">
883 <summary>Returns a list of strings that represent the property names of the event.</summary>
884 <returns>Returns <see cref="System.Collections.ObjectModel.ReadOnlyCollection`1"></see>.</returns>
886 <member name="P:System.Diagnostics.Tracing.EventWrittenEventArgs.RelatedActivityId">
887 <summary>[Supported in the .NET Framework 4.5.1 and later versions]
888 Gets the identifier of an activity that is related to the activity represented by the current instance.</summary>
889 <returns>The identifier of the related activity, or <see cref="System.Guid.Empty"></see> if there is no related activity.</returns>
891 <member name="P:System.Diagnostics.Tracing.EventWrittenEventArgs.Tags">
892 <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>
893 <returns>Returns <see cref="System.Diagnostics.Tracing.EventTags"></see>.</returns>
895 <member name="P:System.Diagnostics.Tracing.EventWrittenEventArgs.Task">
896 <summary>Gets the task for the event.</summary>
897 <returns>The task for the event.</returns>
899 <member name="P:System.Diagnostics.Tracing.EventWrittenEventArgs.Version">
900 <summary>Gets the version of the event.</summary>
901 <returns>The version of the event.</returns>
903 <member name="T:System.Diagnostics.Tracing.NonEventAttribute">
904 <summary>Identifies a method that is not generating an event.</summary>
906 <member name="M:System.Diagnostics.Tracing.NonEventAttribute.#ctor">
907 <summary>Creates a new instance of the <see cref="T:System.Diagnostics.Tracing.NonEventAttribute"></see> class.</summary>