EventCounter(String, EventSource) Construtor
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
Inicializa uma nova instância da EventCounter classe.
public:
EventCounter(System::String ^ name, System::Diagnostics::Tracing::EventSource ^ eventSource);
public EventCounter(string name, System.Diagnostics.Tracing.EventSource eventSource);
new System.Diagnostics.Tracing.EventCounter : string * System.Diagnostics.Tracing.EventSource -> System.Diagnostics.Tracing.EventCounter
Public Sub New (name As String, eventSource As EventSource)
Parâmetros
- name
- String
O nome do contador de eventos.
- eventSource
- EventSource
A fonte do evento.