21 references to SetValue
mscorlib (2)
microsoft\win32\registry.cs (1)
178
key.
SetValue
(valueName, value, valueKind);
microsoft\win32\registrykey.cs (1)
1453
SetValue
(name, value, RegistryValueKind.Unknown);
System (19)
services\monitoring\system\diagnosticts\EventLog.cs (13)
497
logKey.
SetValue
("Sources", new string[] {logName, source}, RegistryValueKind.MultiString);
514
logKey.
SetValue
("Sources", new string[] {logName, source}, RegistryValueKind.MultiString);
523
logKey.
SetValue
("Sources", newsources, RegistryValueKind.MultiString);
746
key.
SetValue
("Sources", newsourcesArray, RegistryValueKind.MultiString);
1176
logKey.
SetValue
("MaxSize", DefaultMaxSize, RegistryValueKind.DWord);
1178
logKey.
SetValue
("AutoBackupLogFiles", 0, RegistryValueKind.DWord);
1183
logKey.
SetValue
("Retention", DefaultRetention, RegistryValueKind.DWord);
1192
logKey.
SetValue
("File", filename, RegistryValueKind.ExpandString);
1201
sourceLogKey.
SetValue
("EventMessageFile", GetDllPath(sourceData.MachineName), RegistryValueKind.ExpandString);
1203
sourceLogKey.
SetValue
("EventMessageFile", FixupPath(sourceData.MessageResourceFile), RegistryValueKind.ExpandString);
1206
sourceLogKey.
SetValue
("ParameterMessageFile", FixupPath(sourceData.ParameterResourceFile), RegistryValueKind.ExpandString);
1209
sourceLogKey.
SetValue
("CategoryMessageFile", FixupPath(sourceData.CategoryResourceFile), RegistryValueKind.ExpandString);
1210
sourceLogKey.
SetValue
("CategoryCount", sourceData.CategoryCount, RegistryValueKind.DWord);
services\monitoring\system\diagnosticts\EventLogInternal.cs (4)
387
logkey.
SetValue
("MaxSize", i, RegistryValueKind.DWord);
1264
logkey.
SetValue
("Retention", retentionvalue, RegistryValueKind.DWord);
1357
logkey.
SetValue
("DisplayNameFile", resourceFile, RegistryValueKind.ExpandString);
1358
logkey.
SetValue
("DisplayNameID", resourceId, RegistryValueKind.DWord);
services\monitoring\system\diagnosticts\PerformanceCounterLib.cs (2)
471
serviceKey.
SetValue
("IsMultiInstance", (int) categoryType, RegistryValueKind.DWord);
472
serviceKey.
SetValue
("CategoryOptions", 0x3, RegistryValueKind.DWord);