1 write to handle
System.Core (1)
System\Diagnostics\Eventing\Reader\ProviderMetadata.cs (1)
88
handle
= NativeWrapper.EvtOpenProviderMetadata(this.session.Handle, this.providerName, this.logFilePath, this.cultureInfo.LCID, 0);
20 references to handle
System.Core (20)
System\Diagnostics\Eventing\Reader\ProviderMetadata.cs (20)
95
return
handle
;
105
return (Guid)NativeWrapper.EvtGetPublisherMetadataProperty(this.
handle
, UnsafeNativeMethods.EvtPublisherMetadataPropertyId.EvtPublisherMetadataPublisherGuid);
111
return (string)NativeWrapper.EvtGetPublisherMetadataProperty(this.
handle
, UnsafeNativeMethods.EvtPublisherMetadataPropertyId.EvtPublisherMetadataMessageFilePath);
117
return (string)NativeWrapper.EvtGetPublisherMetadataProperty(this.
handle
, UnsafeNativeMethods.EvtPublisherMetadataPropertyId.EvtPublisherMetadataResourceFilePath);
123
return (string)NativeWrapper.EvtGetPublisherMetadataProperty(this.
handle
, UnsafeNativeMethods.EvtPublisherMetadataPropertyId.EvtPublisherMetadataParameterFilePath);
129
string helpLinkStr = (string)NativeWrapper.EvtGetPublisherMetadataProperty(this.
handle
, UnsafeNativeMethods.EvtPublisherMetadataPropertyId.EvtPublisherMetadataHelpLink);
138
return (uint)NativeWrapper.EvtGetPublisherMetadataProperty(this.
handle
, UnsafeNativeMethods.EvtPublisherMetadataPropertyId.EvtPublisherMetadataPublisherMessageID);
154
return NativeWrapper.EvtFormatMessage(this.
handle
, msgId);
171
elHandle = NativeWrapper.EvtGetPublisherMetadataPropertyHandle(this.
handle
, UnsafeNativeMethods.EvtPublisherMetadataPropertyId.EvtPublisherMetadataChannelReferences);
198
channelRefDisplayName = NativeWrapper.EvtFormatMessage(this.
handle
, (uint)channelRefMessageId);
436
el = (List<EventLevel>)this.GetProviderListProperty( this.
handle
, UnsafeNativeMethods.EvtPublisherMetadataPropertyId.EvtPublisherMetadataLevels);
451
eo = (List<EventOpcode>)this.GetProviderListProperty(this.
handle
, UnsafeNativeMethods.EvtPublisherMetadataPropertyId.EvtPublisherMetadataOpcodes);
465
ek = (List<EventKeyword>)this.GetProviderListProperty(this.
handle
, UnsafeNativeMethods.EvtPublisherMetadataPropertyId.EvtPublisherMetadataKeywords);
480
et = (List<EventTask>)this.GetProviderListProperty(this.
handle
, UnsafeNativeMethods.EvtPublisherMetadataPropertyId.EvtPublisherMetadataTasks);
495
EventLogHandle emEnumHandle = NativeWrapper.EvtOpenEventMetadataEnum(
handle
, 0);
527
emMessage = NativeWrapper.EvtFormatMessage(this.
handle
, (uint)messageId);
542
this.GetProviderListProperty(this.
handle
, UnsafeNativeMethods.EvtPublisherMetadataPropertyId.EvtPublisherMetadataTasks);
556
if (
handle
!= null && !
handle
.IsInvalid)
557
handle
.Dispose();