EventListener.EnableEventsのIDictionary<String, String>はコマンド引数であり、EventSource に渡されます。基本的に、これは EventSource に組み込まれた拡張メカニズムです。たとえば、カスタム イベント ソースは OnEventCommand をオーバーライドし、任意のコマンドに応答できます。
System.Diagnostics.Tracing.EventSource で現在サポートされているコマンド引数は、"ActivitySamplingStartEvent"、"ActivitySampling"、および "EtwSessionKeyword" です。
以下は、セマンティック ログ アプリケーション ブロックのサンプリングとイベントのフィルタリングに関する記事からの使用方法の例です。
var listener = new ObservableEventListener();
listener.EnableEvents("MyCustomEventSource",
EventLevel.Informational, Keywords.None,
new Dictionary<string, string> {
{ "ActivitySampling", "true" }
});