Enables events for the specified event source.
Overloads EnableEvents(EventSource, EventLevel)Enables events for the specified event source that has the specified verbosity level or lower.
EnableEvents(EventSource, EventLevel, EventKeywords)Enables events for the specified event source that has the specified verbosity level or lower, and matching keyword flags.
EnableEvents(EventSource, EventLevel, EventKeywords, IDictionary<String,String>)Enables events for the specified event source that has the specified verbosity level or lower, matching event keyword flag, and matching arguments.
EnableEvents(EventSource, EventLevel)Enables events for the specified event source that has the specified verbosity level or lower.
public:
void EnableEvents(System::Diagnostics::Tracing::EventSource ^ eventSource, System::Diagnostics::Tracing::EventLevel level);
public void EnableEvents(System.Diagnostics.Tracing.EventSource eventSource, System.Diagnostics.Tracing.EventLevel level);
member this.EnableEvents : System.Diagnostics.Tracing.EventSource * System.Diagnostics.Tracing.EventLevel -> unit
Public Sub EnableEvents (eventSource As EventSource, level As EventLevel)
Parameters
The event source to enable events for.
The level of events to enable. Using EventLevel.LogAlways includes events of all levels.
EnableEvents(EventSource, EventLevel, EventKeywords)Enables events for the specified event source that has the specified verbosity level or lower, and matching keyword flags.
public:
void EnableEvents(System::Diagnostics::Tracing::EventSource ^ eventSource, System::Diagnostics::Tracing::EventLevel level, System::Diagnostics::Tracing::EventKeywords matchAnyKeyword);
public void EnableEvents(System.Diagnostics.Tracing.EventSource eventSource, System.Diagnostics.Tracing.EventLevel level, System.Diagnostics.Tracing.EventKeywords matchAnyKeyword);
member this.EnableEvents : System.Diagnostics.Tracing.EventSource * System.Diagnostics.Tracing.EventLevel * System.Diagnostics.Tracing.EventKeywords -> unit
Public Sub EnableEvents (eventSource As EventSource, level As EventLevel, matchAnyKeyword As EventKeywords)
Parameters
The event source to enable events for.
The level of events to enable. Using EventLevel.LogAlways includes events of all levels.
The keyword flags necessary to enable the events.
EnableEvents(EventSource, EventLevel, EventKeywords, IDictionary<String,String>)Enables events for the specified event source that has the specified verbosity level or lower, matching event keyword flag, and matching arguments.
public:
void EnableEvents(System::Diagnostics::Tracing::EventSource ^ eventSource, System::Diagnostics::Tracing::EventLevel level, System::Diagnostics::Tracing::EventKeywords matchAnyKeyword, System::Collections::Generic::IDictionary<System::String ^, System::String ^> ^ arguments);
public void EnableEvents(System.Diagnostics.Tracing.EventSource eventSource, System.Diagnostics.Tracing.EventLevel level, System.Diagnostics.Tracing.EventKeywords matchAnyKeyword, System.Collections.Generic.IDictionary<string,string> arguments);
public void EnableEvents(System.Diagnostics.Tracing.EventSource eventSource, System.Diagnostics.Tracing.EventLevel level, System.Diagnostics.Tracing.EventKeywords matchAnyKeyword, System.Collections.Generic.IDictionary<string,string?>? arguments);
member this.EnableEvents : System.Diagnostics.Tracing.EventSource * System.Diagnostics.Tracing.EventLevel * System.Diagnostics.Tracing.EventKeywords * System.Collections.Generic.IDictionary<string, string> -> unit
Public Sub EnableEvents (eventSource As EventSource, level As EventLevel, matchAnyKeyword As EventKeywords, arguments As IDictionary(Of String, String))
Parameters
The event source to enable events for.
The level of events to enable. Using EventLevel.LogAlways includes events of all levels.
The keyword flags necessary to enable the events.
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide. In this articleWas this page helpful?
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4