46 references to EvtChannelConfigPropertyId
System.Diagnostics.EventLog (46)
_generated\0\LibraryImports.g.cs (4)
1033
internal static partial bool EvtSetChannelConfigProperty(global::System.Diagnostics.Eventing.Reader.EventLogHandle channelConfig, global::Microsoft.Win32.UnsafeNativeMethods.
EvtChannelConfigPropertyId
propertyId, int flags, ref global::Microsoft.Win32.UnsafeNativeMethods.EvtVariant propertyValue)
1068
static extern unsafe int __PInvoke(nint __channelConfig_native, global::Microsoft.Win32.UnsafeNativeMethods.
EvtChannelConfigPropertyId
__propertyId_native, int __flags_native, global::Microsoft.Win32.UnsafeNativeMethods.EvtVariant* __propertyValue_native);
1078
internal static partial bool EvtGetChannelConfigProperty(global::System.Diagnostics.Eventing.Reader.EventLogHandle channelConfig, global::Microsoft.Win32.UnsafeNativeMethods.
EvtChannelConfigPropertyId
propertyId, int flags, int propertyValueBufferSize, nint propertyValueBuffer, out int propertyValueBufferUsed)
1114
static extern unsafe int __PInvoke(nint __channelConfig_native, global::Microsoft.Win32.UnsafeNativeMethods.
EvtChannelConfigPropertyId
__propertyId_native, int __flags_native, int __propertyValueBufferSize_native, nint __propertyValueBuffer_native, int* __propertyValueBufferUsed_native);
System\Diagnostics\Reader\EventLogConfiguration.cs (30)
68
return (EventLogType)((uint)NativeWrapper.EvtGetChannelConfigProperty(_handle, UnsafeNativeMethods.
EvtChannelConfigPropertyId
.EvtChannelConfigType)!);
76
return (EventLogIsolation)((uint)NativeWrapper.EvtGetChannelConfigProperty(_handle, UnsafeNativeMethods.
EvtChannelConfigPropertyId
.EvtChannelConfigIsolation)!);
84
return (bool)NativeWrapper.EvtGetChannelConfigProperty(_handle, UnsafeNativeMethods.
EvtChannelConfigPropertyId
.EvtChannelConfigEnabled)!;
88
NativeWrapper.EvtSetChannelConfigProperty(_handle, UnsafeNativeMethods.
EvtChannelConfigPropertyId
.EvtChannelConfigEnabled, (object)value);
96
return (bool)NativeWrapper.EvtGetChannelConfigProperty(_handle, UnsafeNativeMethods.
EvtChannelConfigPropertyId
.EvtChannelConfigClassicEventlog)!;
104
var descriptor = NativeWrapper.EvtGetChannelConfigProperty(_handle, UnsafeNativeMethods.
EvtChannelConfigPropertyId
.EvtChannelConfigAccess);
110
NativeWrapper.EvtSetChannelConfigProperty(_handle, UnsafeNativeMethods.
EvtChannelConfigPropertyId
.EvtChannelConfigAccess, (object?)value);
118
var logFilePath = NativeWrapper.EvtGetChannelConfigProperty(_handle, UnsafeNativeMethods.
EvtChannelConfigPropertyId
.EvtChannelLoggingConfigLogFilePath);
124
NativeWrapper.EvtSetChannelConfigProperty(_handle, UnsafeNativeMethods.
EvtChannelConfigPropertyId
.EvtChannelLoggingConfigLogFilePath, (object?)value);
132
return (long)((ulong)NativeWrapper.EvtGetChannelConfigProperty(_handle, UnsafeNativeMethods.
EvtChannelConfigPropertyId
.EvtChannelLoggingConfigMaxSize)!);
136
NativeWrapper.EvtSetChannelConfigProperty(_handle, UnsafeNativeMethods.
EvtChannelConfigPropertyId
.EvtChannelLoggingConfigMaxSize, (object)value);
144
object? nativeRetentionObject = NativeWrapper.EvtGetChannelConfigProperty(_handle, UnsafeNativeMethods.
EvtChannelConfigPropertyId
.EvtChannelLoggingConfigRetention);
145
object? nativeAutoBackupObject = NativeWrapper.EvtGetChannelConfigProperty(_handle, UnsafeNativeMethods.
EvtChannelConfigPropertyId
.EvtChannelLoggingConfigAutoBackup);
163
NativeWrapper.EvtSetChannelConfigProperty(_handle, UnsafeNativeMethods.
EvtChannelConfigPropertyId
.EvtChannelLoggingConfigAutoBackup, (object)false);
164
NativeWrapper.EvtSetChannelConfigProperty(_handle, UnsafeNativeMethods.
EvtChannelConfigPropertyId
.EvtChannelLoggingConfigRetention, (object)false);
167
NativeWrapper.EvtSetChannelConfigProperty(_handle, UnsafeNativeMethods.
EvtChannelConfigPropertyId
.EvtChannelLoggingConfigAutoBackup, (object)true);
168
NativeWrapper.EvtSetChannelConfigProperty(_handle, UnsafeNativeMethods.
EvtChannelConfigPropertyId
.EvtChannelLoggingConfigRetention, (object)true);
171
NativeWrapper.EvtSetChannelConfigProperty(_handle, UnsafeNativeMethods.
EvtChannelConfigPropertyId
.EvtChannelLoggingConfigAutoBackup, (object)false);
172
NativeWrapper.EvtSetChannelConfigProperty(_handle, UnsafeNativeMethods.
EvtChannelConfigPropertyId
.EvtChannelLoggingConfigRetention, (object)true);
182
var owningProviderName = NativeWrapper.EvtGetChannelConfigProperty(_handle, UnsafeNativeMethods.
EvtChannelConfigPropertyId
.EvtChannelConfigOwningPublisher);
192
var providerNames = NativeWrapper.EvtGetChannelConfigProperty(_handle, UnsafeNativeMethods.
EvtChannelConfigPropertyId
.EvtChannelPublisherList);
202
return (int?)((uint?)NativeWrapper.EvtGetChannelConfigProperty(_handle, UnsafeNativeMethods.
EvtChannelConfigPropertyId
.EvtChannelPublishingConfigLevel));
206
NativeWrapper.EvtSetChannelConfigProperty(_handle, UnsafeNativeMethods.
EvtChannelConfigPropertyId
.EvtChannelPublishingConfigLevel, (object?)value);
214
return (long?)((ulong?)NativeWrapper.EvtGetChannelConfigProperty(_handle, UnsafeNativeMethods.
EvtChannelConfigPropertyId
.EvtChannelPublishingConfigKeywords));
218
NativeWrapper.EvtSetChannelConfigProperty(_handle, UnsafeNativeMethods.
EvtChannelConfigPropertyId
.EvtChannelPublishingConfigKeywords, (object?)value);
226
return (int?)((uint?)NativeWrapper.EvtGetChannelConfigProperty(_handle, UnsafeNativeMethods.
EvtChannelConfigPropertyId
.EvtChannelPublishingConfigBufferSize));
234
return (int?)((uint?)NativeWrapper.EvtGetChannelConfigProperty(_handle, UnsafeNativeMethods.
EvtChannelConfigPropertyId
.EvtChannelPublishingConfigMinBuffers));
242
return (int?)((uint?)NativeWrapper.EvtGetChannelConfigProperty(_handle, UnsafeNativeMethods.
EvtChannelConfigPropertyId
.EvtChannelPublishingConfigMaxBuffers));
250
return (int?)((uint?)NativeWrapper.EvtGetChannelConfigProperty(_handle, UnsafeNativeMethods.
EvtChannelConfigPropertyId
.EvtChannelPublishingConfigLatency));
258
return (Guid?)(NativeWrapper.EvtGetChannelConfigProperty(_handle, UnsafeNativeMethods.
EvtChannelConfigPropertyId
.EvtChannelPublishingConfigControlGuid));
System\Diagnostics\Reader\NativeWrapper.cs (10)
585
public static object? EvtGetChannelConfigProperty(EventLogHandle handle, UnsafeNativeMethods.
EvtChannelConfigPropertyId
enumType)
622
public static void EvtSetChannelConfigProperty(EventLogHandle handle, UnsafeNativeMethods.
EvtChannelConfigPropertyId
enumType, object? val)
634
case UnsafeNativeMethods.
EvtChannelConfigPropertyId
.EvtChannelConfigEnabled:
640
case UnsafeNativeMethods.
EvtChannelConfigPropertyId
.EvtChannelConfigAccess:
647
case UnsafeNativeMethods.
EvtChannelConfigPropertyId
.EvtChannelLoggingConfigLogFilePath:
654
case UnsafeNativeMethods.
EvtChannelConfigPropertyId
.EvtChannelLoggingConfigMaxSize:
660
case UnsafeNativeMethods.
EvtChannelConfigPropertyId
.EvtChannelPublishingConfigLevel:
666
case UnsafeNativeMethods.
EvtChannelConfigPropertyId
.EvtChannelPublishingConfigKeywords:
672
case UnsafeNativeMethods.
EvtChannelConfigPropertyId
.EvtChannelLoggingConfigRetention:
678
case UnsafeNativeMethods.
EvtChannelConfigPropertyId
.EvtChannelLoggingConfigAutoBackup:
System\Diagnostics\Reader\UnsafeNativeMethods.cs (2)
620
EvtChannelConfigPropertyId
propertyId,
628
EvtChannelConfigPropertyId
propertyId,