C# Класс Tx.Bond.BinaryEtwObservable

Uses Tx.Windows implementation of Etw log parser and converts the objects into BinaryEnvelope objects. Use a BinaryConfigTypeMap derived implementation along with this class to convert into required datatypes.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
BinaryMainfestFromFiles ( ) : IObservable
BinaryMainfestFromFiles ( System.DateTime startTime, System.DateTime endTime ) : IObservable
BinaryManifestFromFiles ( System.Guid providerId, bool useSequentialReader, System.DateTime startTime, System.DateTime endTime ) : IObservable
BinaryManifestFromSequentialFiles ( ) : IObservable
BinaryManifestFromSequentialFiles ( System.DateTime startTime, System.DateTime endTime ) : IObservable
FromFiles ( ) : IObservable

Takes an array of files and creates an observer that retrieves all BinaryEnvelope type events. These Events have EventId 0 and belong to EtwBinaryEventManifestProviderId

FromFiles ( System.DateTime startTime, System.DateTime endTime ) : IObservable

Takes an array of files and creates an observer that retrieves all BinaryEnvelope type events. These Events have EventId 0 and belong to EtwBinaryEventManifestProviderId

FromFiles ( Guid providerId, bool useSequentialReader, DateTime startTime, DateTime endTime ) : IObservable

Takes an array of files and creates an observer that retrieves all BinaryEnvelope type events. These Events have EventId 0, 1 and 2. and belong to specified provider.

FromSequentialFiles ( ) : IObservable
FromSequentialFiles ( DateTime startTime, DateTime endTime ) : IObservable
FromSession ( Guid providerId, string sessionName ) : IObservable

Creates a listener to ETW real-time session for BinaryEnvelope events. These Events have EventId 0, 1 and 2. and belong to specified provider.

Приватные методы

Метод Описание
CreateEtwObservable ( bool useSequentialReader, System.DateTime startTime, System.DateTime endTime ) : IObservable

Описание методов

BinaryMainfestFromFiles() публичный статический Метод

public static BinaryMainfestFromFiles ( ) : IObservable
Результат IObservable

BinaryMainfestFromFiles() публичный статический Метод

public static BinaryMainfestFromFiles ( System.DateTime startTime, System.DateTime endTime ) : IObservable
startTime System.DateTime
endTime System.DateTime
Результат IObservable

BinaryManifestFromFiles() публичный статический Метод

public static BinaryManifestFromFiles ( System.Guid providerId, bool useSequentialReader, System.DateTime startTime, System.DateTime endTime ) : IObservable
providerId System.Guid
useSequentialReader bool
startTime System.DateTime
endTime System.DateTime
Результат IObservable

BinaryManifestFromSequentialFiles() публичный статический Метод

public static BinaryManifestFromSequentialFiles ( ) : IObservable
Результат IObservable

BinaryManifestFromSequentialFiles() публичный статический Метод

public static BinaryManifestFromSequentialFiles ( System.DateTime startTime, System.DateTime endTime ) : IObservable
startTime System.DateTime
endTime System.DateTime
Результат IObservable

FromFiles() публичный статический Метод

Takes an array of files and creates an observer that retrieves all BinaryEnvelope type events. These Events have EventId 0 and belong to EtwBinaryEventManifestProviderId
public static FromFiles ( ) : IObservable
Результат IObservable

FromFiles() публичный статический Метод

Takes an array of files and creates an observer that retrieves all BinaryEnvelope type events. These Events have EventId 0 and belong to EtwBinaryEventManifestProviderId
public static FromFiles ( System.DateTime startTime, System.DateTime endTime ) : IObservable
startTime System.DateTime Start time of sequence of events, if null then DateTime.MinValue will be used.
endTime System.DateTime End time of sequence of events, if null then DateTime.MaxValue will be used.
Результат IObservable

FromFiles() публичный статический Метод

Takes an array of files and creates an observer that retrieves all BinaryEnvelope type events. These Events have EventId 0, 1 and 2. and belong to specified provider.
public static FromFiles ( Guid providerId, bool useSequentialReader, DateTime startTime, DateTime endTime ) : IObservable
providerId Guid Identifier of ETW provider.
useSequentialReader bool Flag to specify if the input ETL files are already ordered by timestamp.
startTime DateTime Start time of sequence of events, if null then DateTime.MinValue will be used.
endTime DateTime End time of sequence of events, if null then DateTime.MaxValue will be used.
Результат IObservable

FromSequentialFiles() публичный статический Метод

public static FromSequentialFiles ( ) : IObservable
Результат IObservable

FromSequentialFiles() публичный статический Метод

public static FromSequentialFiles ( DateTime startTime, DateTime endTime ) : IObservable
startTime DateTime
endTime DateTime
Результат IObservable

FromSession() публичный статический Метод

Creates a listener to ETW real-time session for BinaryEnvelope events. These Events have EventId 0, 1 and 2. and belong to specified provider.
public static FromSession ( Guid providerId, string sessionName ) : IObservable
providerId Guid Identifier of ETW provider.
sessionName string Session name.
Результат IObservable