C# 클래스 Microsoft.Win32.UnsafeNativeMethods.ManifestEtw

파일 보기 프로젝트 열기: dotnet/corefx

비공개 메소드들

메소드 설명
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.