Метод | Описание | |
---|---|---|
EnumerateTraceGuidsEx ( TRACE_QUERY_INFO_CLASS TraceQueryInfoClass, void InBuffer, int InBufferSize, void OutBuffer, int OutBufferSize, int &ReturnLength ) : int | ||
EventRegister ( [ providerId, [ enableCallback, [ callbackContext, [ registrationHandle ) : uint | ||
EventSetInformation ( [ registrationHandle, [ informationClass, [ eventInformation, [ informationLength ) : int | ||
EventUnregister ( [ registrationHandle ) : uint | ||
EventWriteTransfer ( [ registrationHandle, [ eventDescriptor, [ activityId, [ relatedActivityId, [ userDataCount, [ userData ) : int | ||
EventWriteTransferWrapper ( long registrationHandle, System.Diagnostics.Tracing.EventDescriptor &eventDescriptor, System.Guid activityId, System.Guid relatedActivityId, int userDataCount, System.Diagnostics.Tracing.EventProvider userData ) : int |
Call the ETW native API EventWriteTransfer and checks for invalid argument error. The implementation of EventWriteTransfer on some older OSes (Windows 2008) does not accept null relatedActivityId. So, for these cases we will retry the call with an empty Guid.
|