EventListener.EnableEvents Metoda

Definicja

Włącza zdarzenia dla określonego źródła zdarzeń.

Przeciążenia

EnableEvents(EventSource, EventLevel)

Włącza zdarzenia dla określonego źródła zdarzeń, które ma określony poziom szczegółowości lub niższy.

EnableEvents(EventSource, EventLevel, EventKeywords)

Włącza zdarzenia dla określonego źródła zdarzeń, które ma określony poziom szczegółowości lub niższy oraz pasujące flagi słów kluczowych.

EnableEvents(EventSource, EventLevel, EventKeywords, IDictionary<String,String>)

Włącza zdarzenia dla określonego źródła zdarzeń, które ma określony poziom szczegółowości lub niższy, pasujące flagi słowa kluczowego zdarzenia i pasujące argumenty.

EnableEvents(EventSource, EventLevel)

Źródło:
EventSource.cs
Źródło:
EventSource.cs
Źródło:
EventSource.cs

Włącza zdarzenia dla określonego źródła zdarzeń, które ma określony poziom szczegółowości lub niższy.

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)

Parametry

eventSource
EventSource

Źródło zdarzeń umożliwiające włączenie zdarzeń dla.

level
EventLevel

Poziom zdarzeń do włączenia. Korzystanie z elementu EventLevel.LogAlways obejmuje zdarzenia wszystkich poziomów.

Dotyczy

EnableEvents(EventSource, EventLevel, EventKeywords)

Źródło:
EventSource.cs
Źródło:
EventSource.cs
Źródło:
EventSource.cs

Włącza zdarzenia dla określonego źródła zdarzeń, które ma określony poziom szczegółowości lub niższy oraz pasujące flagi słów kluczowych.

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)

Parametry

eventSource
EventSource

Źródło zdarzeń umożliwiające włączenie zdarzeń dla.

level
EventLevel

Poziom zdarzeń do włączenia. Korzystanie z elementu EventLevel.LogAlways obejmuje zdarzenia wszystkich poziomów.

matchAnyKeyword
EventKeywords

Flagi słów kluczowych niezbędne do włączenia zdarzeń.

Dotyczy

EnableEvents(EventSource, EventLevel, EventKeywords, IDictionary<String,String>)

Źródło:
EventSource.cs
Źródło:
EventSource.cs
Źródło:
EventSource.cs

Włącza zdarzenia dla określonego źródła zdarzeń, które ma określony poziom szczegółowości lub niższy, pasujące flagi słowa kluczowego zdarzenia i pasujące argumenty.

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))

Parametry

eventSource
EventSource

Źródło zdarzeń umożliwiające włączenie zdarzeń dla.

level
EventLevel

Poziom zdarzeń do włączenia. Korzystanie z elementu EventLevel.LogAlways obejmuje zdarzenia wszystkich poziomów.

matchAnyKeyword
EventKeywords

Flagi słów kluczowych niezbędne do włączenia zdarzeń.

arguments
IDictionary<String,String>

Argumenty, które mają być dopasowane w celu włączenia zdarzeń.

Dotyczy