@tsonic/microsoft-extensions 0.1.2 → 10.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Microsoft.Extensions.Caching.Distributed/bindings.json +392 -543
- package/Microsoft.Extensions.Caching.Distributed/internal/index.d.ts +38 -38
- package/Microsoft.Extensions.Caching.Hybrid/bindings.json +215 -323
- package/Microsoft.Extensions.Caching.Hybrid/internal/index.d.ts +27 -26
- package/Microsoft.Extensions.Caching.Memory/bindings.json +856 -1253
- package/Microsoft.Extensions.Caching.Memory/internal/index.d.ts +95 -89
- package/Microsoft.Extensions.Configuration/bindings.json +2391 -3052
- package/Microsoft.Extensions.Configuration/internal/index.d.ts +204 -198
- package/Microsoft.Extensions.Configuration.CommandLine/bindings.json +165 -200
- package/Microsoft.Extensions.Configuration.CommandLine/internal/index.d.ts +9 -9
- package/Microsoft.Extensions.Configuration.EnvironmentVariables/bindings.json +146 -198
- package/Microsoft.Extensions.Configuration.EnvironmentVariables/internal/index.d.ts +10 -10
- package/Microsoft.Extensions.Configuration.EnvironmentVariables.d.ts +1 -1
- package/Microsoft.Extensions.Configuration.Ini/bindings.json +286 -511
- package/Microsoft.Extensions.Configuration.Ini/internal/index.d.ts +15 -15
- package/Microsoft.Extensions.Configuration.Json/bindings.json +279 -500
- package/Microsoft.Extensions.Configuration.Json/internal/index.d.ts +15 -15
- package/Microsoft.Extensions.Configuration.Json.d.ts +1 -1
- package/Microsoft.Extensions.Configuration.KeyPerFile/bindings.json +192 -266
- package/Microsoft.Extensions.Configuration.KeyPerFile/internal/index.d.ts +17 -17
- package/Microsoft.Extensions.Configuration.KeyPerFile.d.ts +1 -1
- package/Microsoft.Extensions.Configuration.Memory/bindings.json +163 -210
- package/Microsoft.Extensions.Configuration.Memory/internal/index.d.ts +11 -11
- package/Microsoft.Extensions.Configuration.Memory.d.ts +1 -1
- package/Microsoft.Extensions.Configuration.UserSecrets/bindings.json +38 -50
- package/Microsoft.Extensions.Configuration.UserSecrets/internal/index.d.ts +2 -2
- package/Microsoft.Extensions.Configuration.Xml/bindings.json +334 -535
- package/Microsoft.Extensions.Configuration.Xml/internal/index.d.ts +24 -19
- package/Microsoft.Extensions.Configuration.Xml.d.ts +1 -1
- package/Microsoft.Extensions.DependencyInjection/bindings.json +2557 -3302
- package/Microsoft.Extensions.DependencyInjection/internal/index.d.ts +241 -241
- package/Microsoft.Extensions.DependencyInjection.Extensions/bindings.json +315 -477
- package/Microsoft.Extensions.DependencyInjection.Extensions/internal/index.d.ts +43 -43
- package/Microsoft.Extensions.Diagnostics.HealthChecks/bindings.json +361 -564
- package/Microsoft.Extensions.Diagnostics.HealthChecks/internal/index.d.ts +38 -37
- package/Microsoft.Extensions.Diagnostics.Metrics/bindings.json +361 -494
- package/Microsoft.Extensions.Diagnostics.Metrics/internal/index.d.ts +44 -44
- package/Microsoft.Extensions.Diagnostics.Metrics.Configuration/bindings.json +17 -15
- package/Microsoft.Extensions.Diagnostics.Metrics.Configuration/internal/index.d.ts +1 -1
- package/Microsoft.Extensions.FileProviders/bindings.json +732 -991
- package/Microsoft.Extensions.FileProviders/internal/index.d.ts +52 -47
- package/Microsoft.Extensions.FileProviders.Composite/bindings.json +51 -49
- package/Microsoft.Extensions.FileProviders.Composite/internal/index.d.ts +2 -2
- package/Microsoft.Extensions.FileProviders.Embedded/bindings.json +114 -171
- package/Microsoft.Extensions.FileProviders.Embedded/internal/index.d.ts +7 -7
- package/Microsoft.Extensions.FileProviders.Internal/bindings.json +52 -58
- package/Microsoft.Extensions.FileProviders.Internal/internal/index.d.ts +2 -2
- package/Microsoft.Extensions.FileProviders.Physical/bindings.json +488 -636
- package/Microsoft.Extensions.FileProviders.Physical/internal/index.d.ts +40 -34
- package/Microsoft.Extensions.FileProviders.Physical.d.ts +1 -1
- package/Microsoft.Extensions.FileSystemGlobbing/bindings.json +231 -355
- package/Microsoft.Extensions.FileSystemGlobbing/internal/index.d.ts +23 -23
- package/Microsoft.Extensions.FileSystemGlobbing.Abstractions/bindings.json +185 -268
- package/Microsoft.Extensions.FileSystemGlobbing.Abstractions/internal/index.d.ts +18 -15
- package/Microsoft.Extensions.FileSystemGlobbing.Internal/bindings.json +199 -268
- package/Microsoft.Extensions.FileSystemGlobbing.Internal/internal/index.d.ts +20 -20
- package/Microsoft.Extensions.FileSystemGlobbing.Internal.PathSegments/bindings.json +273 -384
- package/Microsoft.Extensions.FileSystemGlobbing.Internal.PathSegments/internal/index.d.ts +17 -17
- package/Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts/bindings.json +1049 -1085
- package/Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts/internal/index.d.ts +52 -51
- package/Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts.d.ts +1 -1
- package/Microsoft.Extensions.FileSystemGlobbing.Internal.Patterns/bindings.json +28 -47
- package/Microsoft.Extensions.FileSystemGlobbing.Internal.Patterns/internal/index.d.ts +2 -2
- package/Microsoft.Extensions.Hosting/bindings.json +1210 -1709
- package/Microsoft.Extensions.Hosting/internal/index.d.ts +127 -121
- package/Microsoft.Extensions.Hosting.Internal/bindings.json +276 -386
- package/Microsoft.Extensions.Hosting.Internal/internal/index.d.ts +13 -13
- package/Microsoft.Extensions.Http/bindings.json +145 -156
- package/Microsoft.Extensions.Http/internal/index.d.ts +15 -13
- package/Microsoft.Extensions.Http.Logging/bindings.json +205 -150
- package/Microsoft.Extensions.Http.Logging/internal/index.d.ts +24 -12
- package/Microsoft.Extensions.Http.Logging.d.ts +1 -1
- package/Microsoft.Extensions.Http.d.ts +1 -1
- package/Microsoft.Extensions.Internal/bindings.json +46 -51
- package/Microsoft.Extensions.Internal/internal/index.d.ts +2 -2
- package/Microsoft.Extensions.Localization/bindings.json +595 -529
- package/Microsoft.Extensions.Localization/internal/index.d.ts +35 -25
- package/Microsoft.Extensions.Localization.d.ts +2 -1
- package/Microsoft.Extensions.Logging/bindings.json +1547 -2189
- package/Microsoft.Extensions.Logging/internal/index.d.ts +168 -163
- package/Microsoft.Extensions.Logging.Abstractions/bindings.json +406 -522
- package/Microsoft.Extensions.Logging.Abstractions/internal/index.d.ts +33 -32
- package/Microsoft.Extensions.Logging.Configuration/bindings.json +119 -110
- package/Microsoft.Extensions.Logging.Configuration/internal/index.d.ts +5 -5
- package/Microsoft.Extensions.Logging.Console/bindings.json +553 -828
- package/Microsoft.Extensions.Logging.Console/internal/index.d.ts +50 -50
- package/Microsoft.Extensions.Logging.Debug/bindings.json +47 -48
- package/Microsoft.Extensions.Logging.Debug/internal/index.d.ts +2 -2
- package/Microsoft.Extensions.Logging.EventLog/bindings.json +104 -147
- package/Microsoft.Extensions.Logging.EventLog/internal/index.d.ts +11 -11
- package/Microsoft.Extensions.Logging.EventSource/bindings.json +104 -98
- package/Microsoft.Extensions.Logging.EventSource/internal/index.d.ts +13 -8
- package/Microsoft.Extensions.Logging.EventSource.d.ts +1 -1
- package/Microsoft.Extensions.Logging.TraceSource/bindings.json +48 -57
- package/Microsoft.Extensions.Logging.TraceSource/internal/index.d.ts +2 -2
- package/Microsoft.Extensions.ObjectPool/bindings.json +488 -546
- package/Microsoft.Extensions.ObjectPool/internal/index.d.ts +28 -25
- package/Microsoft.Extensions.Options/bindings.json +2753 -3493
- package/Microsoft.Extensions.Options/internal/index.d.ts +213 -207
- package/Microsoft.Extensions.Primitives/bindings.json +944 -1250
- package/Microsoft.Extensions.Primitives/internal/index.d.ts +91 -93
- package/Microsoft.Extensions.Validation/bindings.json +357 -324
- package/Microsoft.Extensions.Validation/internal/index.d.ts +43 -25
- package/Microsoft.Extensions.Validation.d.ts +1 -1
- package/Microsoft.Extensions.WebEncoders/bindings.json +20 -25
- package/Microsoft.Extensions.WebEncoders/internal/index.d.ts +2 -2
- package/Microsoft.Extensions.WebEncoders.Testing/bindings.json +180 -279
- package/Microsoft.Extensions.WebEncoders.Testing/internal/index.d.ts +21 -21
- package/System.Diagnostics/bindings.json +838 -1238
- package/System.Diagnostics/internal/index.d.ts +106 -96
- package/System.Diagnostics.Eventing.Reader/bindings.json +1989 -2923
- package/System.Diagnostics.Eventing.Reader/internal/index.d.ts +260 -212
- package/System.Net.Http/bindings.json +68 -60
- package/System.Net.Http/internal/index.d.ts +4 -4
- package/System.Security.Cryptography/bindings.json +147 -208
- package/System.Security.Cryptography/internal/index.d.ts +14 -14
- package/System.Security.Cryptography.Pkcs/bindings.json +2337 -4036
- package/System.Security.Cryptography.Pkcs/internal/index.d.ts +261 -259
- package/System.Security.Cryptography.Xml/bindings.json +2956 -5441
- package/System.Security.Cryptography.Xml/internal/index.d.ts +407 -349
- package/System.Security.Cryptography.Xml.d.ts +1 -1
- package/__build/scripts/generate.sh +4 -4
- package/__internal/extensions/index.d.ts +426 -426
- package/package.json +3 -3
- package/Microsoft.Extensions.Caching.Distributed/internal/metadata.json +0 -835
- package/Microsoft.Extensions.Caching.Hybrid/internal/metadata.json +0 -476
- package/Microsoft.Extensions.Caching.Memory/internal/metadata.json +0 -1740
- package/Microsoft.Extensions.Configuration/internal/metadata.json +0 -4603
- package/Microsoft.Extensions.Configuration.CommandLine/internal/metadata.json +0 -295
- package/Microsoft.Extensions.Configuration.EnvironmentVariables/internal/metadata.json +0 -301
- package/Microsoft.Extensions.Configuration.Ini/internal/metadata.json +0 -568
- package/Microsoft.Extensions.Configuration.Json/internal/metadata.json +0 -552
- package/Microsoft.Extensions.Configuration.KeyPerFile/internal/metadata.json +0 -402
- package/Microsoft.Extensions.Configuration.Memory/internal/metadata.json +0 -312
- package/Microsoft.Extensions.Configuration.UserSecrets/internal/metadata.json +0 -85
- package/Microsoft.Extensions.Configuration.Xml/internal/metadata.json +0 -611
- package/Microsoft.Extensions.DependencyInjection/internal/metadata.json +0 -4903
- package/Microsoft.Extensions.DependencyInjection.Extensions/internal/metadata.json +0 -713
- package/Microsoft.Extensions.Diagnostics.HealthChecks/internal/metadata.json +0 -802
- package/Microsoft.Extensions.Diagnostics.Metrics/internal/metadata.json +0 -785
- package/Microsoft.Extensions.Diagnostics.Metrics.Configuration/internal/metadata.json +0 -41
- package/Microsoft.Extensions.FileProviders/internal/metadata.json +0 -1423
- package/Microsoft.Extensions.FileProviders.Composite/internal/metadata.json +0 -79
- package/Microsoft.Extensions.FileProviders.Embedded/internal/metadata.json +0 -251
- package/Microsoft.Extensions.FileProviders.Internal/internal/metadata.json +0 -84
- package/Microsoft.Extensions.FileProviders.Physical/internal/metadata.json +0 -879
- package/Microsoft.Extensions.FileSystemGlobbing/internal/metadata.json +0 -511
- package/Microsoft.Extensions.FileSystemGlobbing.Abstractions/internal/metadata.json +0 -352
- package/Microsoft.Extensions.FileSystemGlobbing.Internal/internal/metadata.json +0 -443
- package/Microsoft.Extensions.FileSystemGlobbing.Internal.PathSegments/internal/metadata.json +0 -550
- package/Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts/internal/metadata.json +0 -1527
- package/Microsoft.Extensions.FileSystemGlobbing.Internal.Patterns/internal/metadata.json +0 -68
- package/Microsoft.Extensions.Hosting/internal/metadata.json +0 -2577
- package/Microsoft.Extensions.Hosting.Internal/internal/metadata.json +0 -559
- package/Microsoft.Extensions.Http/internal/metadata.json +0 -266
- package/Microsoft.Extensions.Http.Logging/internal/metadata.json +0 -240
- package/Microsoft.Extensions.Internal/internal/metadata.json +0 -94
- package/Microsoft.Extensions.Localization/internal/metadata.json +0 -831
- package/Microsoft.Extensions.Logging/internal/metadata.json +0 -3222
- package/Microsoft.Extensions.Logging.Abstractions/internal/metadata.json +0 -782
- package/Microsoft.Extensions.Logging.Configuration/internal/metadata.json +0 -212
- package/Microsoft.Extensions.Logging.Console/internal/metadata.json +0 -1119
- package/Microsoft.Extensions.Logging.Debug/internal/metadata.json +0 -80
- package/Microsoft.Extensions.Logging.EventLog/internal/metadata.json +0 -206
- package/Microsoft.Extensions.Logging.EventSource/internal/metadata.json +0 -149
- package/Microsoft.Extensions.Logging.TraceSource/internal/metadata.json +0 -85
- package/Microsoft.Extensions.ObjectPool/internal/metadata.json +0 -867
- package/Microsoft.Extensions.Options/internal/metadata.json +0 -4965
- package/Microsoft.Extensions.Primitives/internal/metadata.json +0 -1830
- package/Microsoft.Extensions.Validation/internal/metadata.json +0 -577
- package/Microsoft.Extensions.WebEncoders/internal/metadata.json +0 -46
- package/Microsoft.Extensions.WebEncoders.Testing/internal/metadata.json +0 -431
- package/System.Diagnostics/internal/metadata.json +0 -1694
- package/System.Diagnostics.Eventing.Reader/internal/metadata.json +0 -3706
- package/System.Net.Http/internal/metadata.json +0 -141
- package/System.Security.Cryptography/internal/metadata.json +0 -302
- package/System.Security.Cryptography.Pkcs/internal/metadata.json +0 -5125
- package/System.Security.Cryptography.Xml/internal/metadata.json +0 -5727
|
@@ -17,87 +17,87 @@ import type { SecureString } from "@tsonic/dotnet/System.Security.js";
|
|
|
17
17
|
import type { SecurityIdentifier } from "@tsonic/dotnet/System.Security.Principal.js";
|
|
18
18
|
|
|
19
19
|
export enum EventLogIsolation {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
20
|
+
Application = 0,
|
|
21
|
+
System = 1,
|
|
22
|
+
Custom = 2
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
export enum EventLogMode {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
27
|
+
Circular = 0,
|
|
28
|
+
AutoBackup = 1,
|
|
29
|
+
Retain = 2
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
|
|
33
33
|
export enum EventLogType {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
34
|
+
Administrative = 0,
|
|
35
|
+
Operational = 1,
|
|
36
|
+
Analytical = 2,
|
|
37
|
+
Debug = 3
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
|
|
41
41
|
export enum PathType {
|
|
42
|
-
|
|
43
|
-
|
|
42
|
+
LogName = 1,
|
|
43
|
+
FilePath = 2
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
|
|
47
47
|
export enum SessionAuthentication {
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
48
|
+
Default = 0,
|
|
49
|
+
Negotiate = 1,
|
|
50
|
+
Kerberos = 2,
|
|
51
|
+
Ntlm = 3
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
|
|
55
55
|
export enum StandardEventKeywords {
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
56
|
+
None = 0,
|
|
57
|
+
ResponseTime = 281474976710656,
|
|
58
|
+
WdiContext = 562949953421312,
|
|
59
|
+
WdiDiagnostic = 1125899906842624,
|
|
60
|
+
Sqm = 2251799813685248,
|
|
61
|
+
AuditFailure = 4503599627370496,
|
|
62
|
+
CorrelationHint = 4503599627370496,
|
|
63
|
+
AuditSuccess = 9007199254740992,
|
|
64
|
+
CorrelationHint2 = 18014398509481984,
|
|
65
|
+
EventLogClassic = 36028797018963968
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
|
|
69
69
|
export enum StandardEventLevel {
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
70
|
+
LogAlways = 0,
|
|
71
|
+
Critical = 1,
|
|
72
|
+
Error = 2,
|
|
73
|
+
Warning = 3,
|
|
74
|
+
Informational = 4,
|
|
75
|
+
Verbose = 5
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
|
|
79
79
|
export enum StandardEventOpcode {
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
80
|
+
Info = 0,
|
|
81
|
+
Start = 1,
|
|
82
|
+
Stop = 2,
|
|
83
|
+
DataCollectionStart = 3,
|
|
84
|
+
DataCollectionStop = 4,
|
|
85
|
+
Extension = 5,
|
|
86
|
+
Reply = 6,
|
|
87
|
+
Resume = 7,
|
|
88
|
+
Suspend = 8,
|
|
89
|
+
Send = 9,
|
|
90
|
+
Receive = 240
|
|
91
91
|
}
|
|
92
92
|
|
|
93
93
|
|
|
94
94
|
export enum StandardEventTask {
|
|
95
|
-
|
|
95
|
+
None = 0
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
|
|
99
99
|
export interface EventBookmark$instance {
|
|
100
|
-
readonly
|
|
100
|
+
readonly BookmarkXml: string;
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
|
|
@@ -109,9 +109,9 @@ export const EventBookmark: {
|
|
|
109
109
|
export type EventBookmark = EventBookmark$instance;
|
|
110
110
|
|
|
111
111
|
export interface EventKeyword$instance {
|
|
112
|
-
readonly
|
|
113
|
-
readonly
|
|
114
|
-
readonly
|
|
112
|
+
readonly DisplayName: string;
|
|
113
|
+
readonly Name: string;
|
|
114
|
+
readonly Value: long;
|
|
115
115
|
}
|
|
116
116
|
|
|
117
117
|
|
|
@@ -123,9 +123,9 @@ export const EventKeyword: {
|
|
|
123
123
|
export type EventKeyword = EventKeyword$instance;
|
|
124
124
|
|
|
125
125
|
export interface EventLevel$instance {
|
|
126
|
-
readonly
|
|
127
|
-
readonly
|
|
128
|
-
readonly
|
|
126
|
+
readonly DisplayName: string;
|
|
127
|
+
readonly Name: string;
|
|
128
|
+
readonly Value: int;
|
|
129
129
|
}
|
|
130
130
|
|
|
131
131
|
|
|
@@ -136,27 +136,32 @@ export const EventLevel: {
|
|
|
136
136
|
|
|
137
137
|
export type EventLevel = EventLevel$instance;
|
|
138
138
|
|
|
139
|
-
export
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
readonly
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
readonly
|
|
149
|
-
|
|
150
|
-
readonly
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
readonly
|
|
155
|
-
readonly
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
139
|
+
export abstract class EventLogConfiguration$protected {
|
|
140
|
+
protected Dispose(disposing: boolean): void;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
export interface EventLogConfiguration$instance extends EventLogConfiguration$protected {
|
|
145
|
+
readonly IsClassicLog: boolean;
|
|
146
|
+
IsEnabled: boolean;
|
|
147
|
+
LogFilePath: string;
|
|
148
|
+
readonly LogIsolation: EventLogIsolation;
|
|
149
|
+
LogMode: EventLogMode;
|
|
150
|
+
readonly LogName: string | undefined;
|
|
151
|
+
readonly LogType: EventLogType;
|
|
152
|
+
MaximumSizeInBytes: long;
|
|
153
|
+
readonly OwningProviderName: string;
|
|
154
|
+
readonly ProviderBufferSize: Nullable<System_Internal.Int32>;
|
|
155
|
+
readonly ProviderControlGuid: Nullable<Guid>;
|
|
156
|
+
ProviderKeywords: Nullable<System_Internal.Int64>;
|
|
157
|
+
readonly ProviderLatency: Nullable<System_Internal.Int32>;
|
|
158
|
+
ProviderLevel: Nullable<System_Internal.Int32>;
|
|
159
|
+
readonly ProviderMaximumNumberOfBuffers: Nullable<System_Internal.Int32>;
|
|
160
|
+
readonly ProviderMinimumNumberOfBuffers: Nullable<System_Internal.Int32>;
|
|
161
|
+
readonly ProviderNames: IEnumerable<System_Internal.String>;
|
|
162
|
+
SecurityDescriptor: string;
|
|
163
|
+
Dispose(): void;
|
|
164
|
+
SaveChanges(): void;
|
|
160
165
|
}
|
|
161
166
|
|
|
162
167
|
|
|
@@ -169,13 +174,15 @@ export const EventLogConfiguration: {
|
|
|
169
174
|
export type EventLogConfiguration = EventLogConfiguration$instance;
|
|
170
175
|
|
|
171
176
|
export interface EventLogException$instance extends Exception {
|
|
172
|
-
readonly
|
|
173
|
-
|
|
177
|
+
readonly Message: string;
|
|
178
|
+
GetObjectData(info: SerializationInfo, context: StreamingContext): void;
|
|
174
179
|
}
|
|
175
180
|
|
|
176
181
|
|
|
177
182
|
export const EventLogException: {
|
|
178
183
|
new(): EventLogException;
|
|
184
|
+
new(errorCode: int): EventLogException;
|
|
185
|
+
new(serializationInfo: SerializationInfo, streamingContext: StreamingContext): EventLogException;
|
|
179
186
|
new(message: string): EventLogException;
|
|
180
187
|
new(message: string, innerException: Exception): EventLogException;
|
|
181
188
|
};
|
|
@@ -184,14 +191,14 @@ export const EventLogException: {
|
|
|
184
191
|
export type EventLogException = EventLogException$instance;
|
|
185
192
|
|
|
186
193
|
export interface EventLogInformation$instance {
|
|
187
|
-
readonly
|
|
188
|
-
readonly
|
|
189
|
-
readonly
|
|
190
|
-
readonly
|
|
191
|
-
readonly
|
|
192
|
-
readonly
|
|
193
|
-
readonly
|
|
194
|
-
readonly
|
|
194
|
+
readonly Attributes: Nullable<System_Internal.Int32>;
|
|
195
|
+
readonly CreationTime: Nullable<DateTime>;
|
|
196
|
+
readonly FileSize: Nullable<System_Internal.Int64>;
|
|
197
|
+
readonly IsLogFull: Nullable<System_Internal.Boolean>;
|
|
198
|
+
readonly LastAccessTime: Nullable<DateTime>;
|
|
199
|
+
readonly LastWriteTime: Nullable<DateTime>;
|
|
200
|
+
readonly OldestRecordNumber: Nullable<System_Internal.Int64>;
|
|
201
|
+
readonly RecordCount: Nullable<System_Internal.Int64>;
|
|
195
202
|
}
|
|
196
203
|
|
|
197
204
|
|
|
@@ -208,6 +215,7 @@ export interface EventLogInvalidDataException$instance extends EventLogException
|
|
|
208
215
|
|
|
209
216
|
export const EventLogInvalidDataException: {
|
|
210
217
|
new(): EventLogInvalidDataException;
|
|
218
|
+
new(serializationInfo: SerializationInfo, streamingContext: StreamingContext): EventLogInvalidDataException;
|
|
211
219
|
new(message: string): EventLogInvalidDataException;
|
|
212
220
|
new(message: string, innerException: Exception): EventLogInvalidDataException;
|
|
213
221
|
};
|
|
@@ -216,9 +224,9 @@ export const EventLogInvalidDataException: {
|
|
|
216
224
|
export type EventLogInvalidDataException = EventLogInvalidDataException$instance;
|
|
217
225
|
|
|
218
226
|
export interface EventLogLink$instance {
|
|
219
|
-
readonly
|
|
220
|
-
readonly
|
|
221
|
-
readonly
|
|
227
|
+
readonly DisplayName: string;
|
|
228
|
+
readonly IsImported: boolean;
|
|
229
|
+
readonly LogName: string | undefined;
|
|
222
230
|
}
|
|
223
231
|
|
|
224
232
|
|
|
@@ -235,6 +243,7 @@ export interface EventLogNotFoundException$instance extends EventLogException {
|
|
|
235
243
|
|
|
236
244
|
export const EventLogNotFoundException: {
|
|
237
245
|
new(): EventLogNotFoundException;
|
|
246
|
+
new(serializationInfo: SerializationInfo, streamingContext: StreamingContext): EventLogNotFoundException;
|
|
238
247
|
new(message: string): EventLogNotFoundException;
|
|
239
248
|
new(message: string, innerException: Exception): EventLogNotFoundException;
|
|
240
249
|
};
|
|
@@ -242,8 +251,13 @@ export const EventLogNotFoundException: {
|
|
|
242
251
|
|
|
243
252
|
export type EventLogNotFoundException = EventLogNotFoundException$instance;
|
|
244
253
|
|
|
245
|
-
export
|
|
246
|
-
|
|
254
|
+
export abstract class EventLogPropertySelector$protected {
|
|
255
|
+
protected Dispose(disposing: boolean): void;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
|
|
259
|
+
export interface EventLogPropertySelector$instance extends EventLogPropertySelector$protected {
|
|
260
|
+
Dispose(): void;
|
|
247
261
|
}
|
|
248
262
|
|
|
249
263
|
|
|
@@ -260,6 +274,7 @@ export interface EventLogProviderDisabledException$instance extends EventLogExce
|
|
|
260
274
|
|
|
261
275
|
export const EventLogProviderDisabledException: {
|
|
262
276
|
new(): EventLogProviderDisabledException;
|
|
277
|
+
new(serializationInfo: SerializationInfo, streamingContext: StreamingContext): EventLogProviderDisabledException;
|
|
263
278
|
new(message: string): EventLogProviderDisabledException;
|
|
264
279
|
new(message: string, innerException: Exception): EventLogProviderDisabledException;
|
|
265
280
|
};
|
|
@@ -268,9 +283,9 @@ export const EventLogProviderDisabledException: {
|
|
|
268
283
|
export type EventLogProviderDisabledException = EventLogProviderDisabledException$instance;
|
|
269
284
|
|
|
270
285
|
export interface EventLogQuery$instance {
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
286
|
+
ReverseDirection: boolean;
|
|
287
|
+
Session: EventLogSession;
|
|
288
|
+
TolerateQueryErrors: boolean;
|
|
274
289
|
}
|
|
275
290
|
|
|
276
291
|
|
|
@@ -282,16 +297,21 @@ export const EventLogQuery: {
|
|
|
282
297
|
|
|
283
298
|
export type EventLogQuery = EventLogQuery$instance;
|
|
284
299
|
|
|
285
|
-
export
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
300
|
+
export abstract class EventLogReader$protected {
|
|
301
|
+
protected Dispose(disposing: boolean): void;
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
|
|
305
|
+
export interface EventLogReader$instance extends EventLogReader$protected {
|
|
306
|
+
BatchSize: int;
|
|
307
|
+
readonly LogStatus: IList<EventLogStatus>;
|
|
308
|
+
CancelReading(): void;
|
|
309
|
+
Dispose(): void;
|
|
310
|
+
ReadEvent(): EventRecord;
|
|
311
|
+
ReadEvent(timeout: TimeSpan): EventRecord;
|
|
312
|
+
Seek(bookmark: EventBookmark): void;
|
|
313
|
+
Seek(bookmark: EventBookmark, offset: long): void;
|
|
314
|
+
Seek(origin: SeekOrigin, offset: long): void;
|
|
295
315
|
}
|
|
296
316
|
|
|
297
317
|
|
|
@@ -311,6 +331,7 @@ export interface EventLogReadingException$instance extends EventLogException {
|
|
|
311
331
|
|
|
312
332
|
export const EventLogReadingException: {
|
|
313
333
|
new(): EventLogReadingException;
|
|
334
|
+
new(serializationInfo: SerializationInfo, streamingContext: StreamingContext): EventLogReadingException;
|
|
314
335
|
new(message: string): EventLogReadingException;
|
|
315
336
|
new(message: string, innerException: Exception): EventLogReadingException;
|
|
316
337
|
};
|
|
@@ -318,37 +339,43 @@ export const EventLogReadingException: {
|
|
|
318
339
|
|
|
319
340
|
export type EventLogReadingException = EventLogReadingException$instance;
|
|
320
341
|
|
|
321
|
-
export
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
readonly
|
|
328
|
-
readonly
|
|
329
|
-
readonly
|
|
330
|
-
readonly
|
|
331
|
-
readonly
|
|
332
|
-
readonly
|
|
333
|
-
readonly
|
|
334
|
-
readonly
|
|
335
|
-
readonly
|
|
336
|
-
readonly
|
|
337
|
-
readonly
|
|
338
|
-
readonly
|
|
339
|
-
readonly
|
|
340
|
-
readonly
|
|
341
|
-
readonly
|
|
342
|
-
readonly
|
|
343
|
-
readonly
|
|
344
|
-
readonly
|
|
345
|
-
readonly
|
|
346
|
-
readonly
|
|
347
|
-
readonly
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
342
|
+
export abstract class EventLogRecord$protected {
|
|
343
|
+
protected Dispose2(disposing: boolean): void;
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
|
|
347
|
+
export interface EventLogRecord$instance extends EventLogRecord$protected, EventRecord {
|
|
348
|
+
readonly ActivityId: Nullable<Guid>;
|
|
349
|
+
readonly Bookmark: EventBookmark;
|
|
350
|
+
readonly ContainerLog: string;
|
|
351
|
+
readonly Id: int;
|
|
352
|
+
readonly Keywords: Nullable<System_Internal.Int64>;
|
|
353
|
+
readonly KeywordsDisplayNames: IEnumerable<System_Internal.String>;
|
|
354
|
+
readonly Level: Nullable<System_Internal.Byte>;
|
|
355
|
+
readonly LevelDisplayName: string;
|
|
356
|
+
readonly LogName: string | undefined;
|
|
357
|
+
readonly MachineName: string | undefined;
|
|
358
|
+
readonly MatchedQueryIds: IEnumerable<System_Internal.Int32>;
|
|
359
|
+
readonly Opcode: Nullable<System_Internal.Int16>;
|
|
360
|
+
readonly OpcodeDisplayName: string;
|
|
361
|
+
readonly ProcessId: Nullable<System_Internal.Int32>;
|
|
362
|
+
readonly Properties: IList<EventProperty>;
|
|
363
|
+
readonly ProviderId: Nullable<Guid>;
|
|
364
|
+
readonly ProviderName: string | undefined;
|
|
365
|
+
readonly Qualifiers: Nullable<System_Internal.Int32>;
|
|
366
|
+
readonly RecordId: Nullable<System_Internal.Int64>;
|
|
367
|
+
readonly RelatedActivityId: Nullable<Guid>;
|
|
368
|
+
readonly Task: Nullable<System_Internal.Int32>;
|
|
369
|
+
readonly TaskDisplayName: string;
|
|
370
|
+
readonly ThreadId: Nullable<System_Internal.Int32>;
|
|
371
|
+
readonly TimeCreated: Nullable<DateTime>;
|
|
372
|
+
readonly UserId: SecurityIdentifier;
|
|
373
|
+
readonly Version: Nullable<System_Internal.Byte>;
|
|
374
|
+
Dispose(): void;
|
|
375
|
+
FormatDescription(): string;
|
|
376
|
+
FormatDescription(values: IEnumerable<unknown>): string;
|
|
377
|
+
GetPropertyValues(propertySelector: EventLogPropertySelector): IList<unknown>;
|
|
378
|
+
ToXml(): string;
|
|
352
379
|
}
|
|
353
380
|
|
|
354
381
|
|
|
@@ -359,18 +386,23 @@ export const EventLogRecord: {
|
|
|
359
386
|
|
|
360
387
|
export type EventLogRecord = EventLogRecord$instance;
|
|
361
388
|
|
|
362
|
-
export
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
389
|
+
export abstract class EventLogSession$protected {
|
|
390
|
+
protected Dispose(disposing: boolean): void;
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
|
|
394
|
+
export interface EventLogSession$instance extends EventLogSession$protected {
|
|
395
|
+
CancelCurrentOperations(): void;
|
|
396
|
+
ClearLog(logName: string): void;
|
|
397
|
+
ClearLog(logName: string, backupPath: string): void;
|
|
398
|
+
Dispose(): void;
|
|
399
|
+
ExportLog(path: string, pathType: PathType, query: string, targetFilePath: string): void;
|
|
400
|
+
ExportLog(path: string, pathType: PathType, query: string, targetFilePath: string, tolerateQueryErrors: boolean): void;
|
|
401
|
+
ExportLogAndMessages(path: string, pathType: PathType, query: string, targetFilePath: string): void;
|
|
402
|
+
ExportLogAndMessages(path: string, pathType: PathType, query: string, targetFilePath: string, tolerateQueryErrors: boolean, targetCultureInfo: CultureInfo): void;
|
|
403
|
+
GetLogInformation(logName: string, pathType: PathType): EventLogInformation;
|
|
404
|
+
GetLogNames(): IEnumerable<System_Internal.String>;
|
|
405
|
+
GetProviderNames(): IEnumerable<System_Internal.String>;
|
|
374
406
|
}
|
|
375
407
|
|
|
376
408
|
|
|
@@ -378,15 +410,15 @@ export const EventLogSession: {
|
|
|
378
410
|
new(): EventLogSession;
|
|
379
411
|
new(server: string): EventLogSession;
|
|
380
412
|
new(server: string, domain: string, user: string, password: SecureString, logOnType: SessionAuthentication): EventLogSession;
|
|
381
|
-
readonly
|
|
413
|
+
readonly GlobalSession: EventLogSession;
|
|
382
414
|
};
|
|
383
415
|
|
|
384
416
|
|
|
385
417
|
export type EventLogSession = EventLogSession$instance;
|
|
386
418
|
|
|
387
419
|
export interface EventLogStatus$instance {
|
|
388
|
-
readonly
|
|
389
|
-
readonly
|
|
420
|
+
readonly LogName: string | undefined;
|
|
421
|
+
readonly StatusCode: int;
|
|
390
422
|
}
|
|
391
423
|
|
|
392
424
|
|
|
@@ -397,9 +429,14 @@ export const EventLogStatus: {
|
|
|
397
429
|
|
|
398
430
|
export type EventLogStatus = EventLogStatus$instance;
|
|
399
431
|
|
|
400
|
-
export
|
|
401
|
-
|
|
402
|
-
|
|
432
|
+
export abstract class EventLogWatcher$protected {
|
|
433
|
+
protected Dispose(disposing: boolean): void;
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
|
|
437
|
+
export interface EventLogWatcher$instance extends EventLogWatcher$protected {
|
|
438
|
+
Enabled: boolean;
|
|
439
|
+
Dispose(): void;
|
|
403
440
|
}
|
|
404
441
|
|
|
405
442
|
|
|
@@ -414,15 +451,15 @@ export const EventLogWatcher: {
|
|
|
414
451
|
export type EventLogWatcher = EventLogWatcher$instance;
|
|
415
452
|
|
|
416
453
|
export interface EventMetadata$instance {
|
|
417
|
-
readonly
|
|
418
|
-
readonly
|
|
419
|
-
readonly
|
|
420
|
-
readonly
|
|
421
|
-
readonly
|
|
422
|
-
readonly
|
|
423
|
-
readonly
|
|
424
|
-
readonly
|
|
425
|
-
readonly
|
|
454
|
+
readonly Description: string;
|
|
455
|
+
readonly Id: long;
|
|
456
|
+
readonly Keywords: IEnumerable<EventKeyword>;
|
|
457
|
+
readonly Level: EventLevel;
|
|
458
|
+
readonly LogLink: EventLogLink;
|
|
459
|
+
readonly Opcode: EventOpcode;
|
|
460
|
+
readonly Task: EventTask;
|
|
461
|
+
readonly Template: string;
|
|
462
|
+
readonly Version: byte;
|
|
426
463
|
}
|
|
427
464
|
|
|
428
465
|
|
|
@@ -434,9 +471,9 @@ export const EventMetadata: {
|
|
|
434
471
|
export type EventMetadata = EventMetadata$instance;
|
|
435
472
|
|
|
436
473
|
export interface EventOpcode$instance {
|
|
437
|
-
readonly
|
|
438
|
-
readonly
|
|
439
|
-
readonly
|
|
474
|
+
readonly DisplayName: string;
|
|
475
|
+
readonly Name: string;
|
|
476
|
+
readonly Value: int;
|
|
440
477
|
}
|
|
441
478
|
|
|
442
479
|
|
|
@@ -448,7 +485,7 @@ export const EventOpcode: {
|
|
|
448
485
|
export type EventOpcode = EventOpcode$instance;
|
|
449
486
|
|
|
450
487
|
export interface EventProperty$instance {
|
|
451
|
-
readonly
|
|
488
|
+
readonly Value: unknown;
|
|
452
489
|
}
|
|
453
490
|
|
|
454
491
|
|
|
@@ -459,47 +496,53 @@ export const EventProperty: {
|
|
|
459
496
|
|
|
460
497
|
export type EventProperty = EventProperty$instance;
|
|
461
498
|
|
|
462
|
-
export
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
readonly
|
|
469
|
-
readonly
|
|
470
|
-
readonly
|
|
471
|
-
readonly
|
|
472
|
-
readonly
|
|
473
|
-
readonly
|
|
474
|
-
readonly
|
|
475
|
-
readonly
|
|
476
|
-
readonly
|
|
477
|
-
readonly
|
|
478
|
-
readonly
|
|
479
|
-
readonly
|
|
480
|
-
readonly
|
|
481
|
-
readonly
|
|
482
|
-
readonly
|
|
483
|
-
readonly
|
|
484
|
-
readonly
|
|
485
|
-
readonly
|
|
486
|
-
readonly
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
499
|
+
export abstract class EventRecord$protected {
|
|
500
|
+
protected Dispose(disposing: boolean): void;
|
|
501
|
+
}
|
|
502
|
+
|
|
503
|
+
|
|
504
|
+
export interface EventRecord$instance extends EventRecord$protected {
|
|
505
|
+
readonly ActivityId: Nullable<Guid>;
|
|
506
|
+
readonly Bookmark: EventBookmark;
|
|
507
|
+
readonly Id: int;
|
|
508
|
+
readonly Keywords: Nullable<System_Internal.Int64>;
|
|
509
|
+
readonly KeywordsDisplayNames: IEnumerable<System_Internal.String>;
|
|
510
|
+
readonly Level: Nullable<System_Internal.Byte>;
|
|
511
|
+
readonly LevelDisplayName: string;
|
|
512
|
+
readonly LogName: string | undefined;
|
|
513
|
+
readonly MachineName: string | undefined;
|
|
514
|
+
readonly Opcode: Nullable<System_Internal.Int16>;
|
|
515
|
+
readonly OpcodeDisplayName: string;
|
|
516
|
+
readonly ProcessId: Nullable<System_Internal.Int32>;
|
|
517
|
+
readonly Properties: IList<EventProperty>;
|
|
518
|
+
readonly ProviderId: Nullable<Guid>;
|
|
519
|
+
readonly ProviderName: string | undefined;
|
|
520
|
+
readonly Qualifiers: Nullable<System_Internal.Int32>;
|
|
521
|
+
readonly RecordId: Nullable<System_Internal.Int64>;
|
|
522
|
+
readonly RelatedActivityId: Nullable<Guid>;
|
|
523
|
+
readonly Task: Nullable<System_Internal.Int32>;
|
|
524
|
+
readonly TaskDisplayName: string;
|
|
525
|
+
readonly ThreadId: Nullable<System_Internal.Int32>;
|
|
526
|
+
readonly TimeCreated: Nullable<DateTime>;
|
|
527
|
+
readonly UserId: SecurityIdentifier;
|
|
528
|
+
readonly Version: Nullable<System_Internal.Byte>;
|
|
529
|
+
Dispose(): void;
|
|
530
|
+
FormatDescription(): string;
|
|
531
|
+
FormatDescription(values: IEnumerable<unknown>): string;
|
|
532
|
+
ToXml(): string;
|
|
491
533
|
}
|
|
492
534
|
|
|
493
535
|
|
|
494
536
|
export const EventRecord: {
|
|
537
|
+
new(): EventRecord;
|
|
495
538
|
};
|
|
496
539
|
|
|
497
540
|
|
|
498
541
|
export type EventRecord = EventRecord$instance;
|
|
499
542
|
|
|
500
543
|
export interface EventRecordWrittenEventArgs$instance extends EventArgs {
|
|
501
|
-
readonly
|
|
502
|
-
readonly
|
|
544
|
+
readonly EventException: Exception;
|
|
545
|
+
readonly EventRecord: EventRecord;
|
|
503
546
|
}
|
|
504
547
|
|
|
505
548
|
|
|
@@ -511,10 +554,10 @@ export const EventRecordWrittenEventArgs: {
|
|
|
511
554
|
export type EventRecordWrittenEventArgs = EventRecordWrittenEventArgs$instance;
|
|
512
555
|
|
|
513
556
|
export interface EventTask$instance {
|
|
514
|
-
readonly
|
|
515
|
-
readonly
|
|
516
|
-
readonly
|
|
517
|
-
readonly
|
|
557
|
+
readonly DisplayName: string;
|
|
558
|
+
readonly EventGuid: Guid;
|
|
559
|
+
readonly Name: string;
|
|
560
|
+
readonly Value: int;
|
|
518
561
|
}
|
|
519
562
|
|
|
520
563
|
|
|
@@ -525,21 +568,26 @@ export const EventTask: {
|
|
|
525
568
|
|
|
526
569
|
export type EventTask = EventTask$instance;
|
|
527
570
|
|
|
528
|
-
export
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
readonly
|
|
535
|
-
readonly
|
|
536
|
-
readonly
|
|
537
|
-
readonly
|
|
538
|
-
readonly
|
|
539
|
-
readonly
|
|
540
|
-
readonly
|
|
541
|
-
readonly
|
|
542
|
-
|
|
571
|
+
export abstract class ProviderMetadata$protected {
|
|
572
|
+
protected Dispose(disposing: boolean): void;
|
|
573
|
+
}
|
|
574
|
+
|
|
575
|
+
|
|
576
|
+
export interface ProviderMetadata$instance extends ProviderMetadata$protected {
|
|
577
|
+
readonly DisplayName: string;
|
|
578
|
+
readonly Events: IEnumerable<EventMetadata>;
|
|
579
|
+
readonly HelpLink: Uri;
|
|
580
|
+
readonly Id: Guid;
|
|
581
|
+
readonly Keywords: IList<EventKeyword>;
|
|
582
|
+
readonly Levels: IList<EventLevel>;
|
|
583
|
+
readonly LogLinks: IList<EventLogLink>;
|
|
584
|
+
readonly MessageFilePath: string;
|
|
585
|
+
readonly Name: string;
|
|
586
|
+
readonly Opcodes: IList<EventOpcode>;
|
|
587
|
+
readonly ParameterFilePath: string;
|
|
588
|
+
readonly ResourceFilePath: string;
|
|
589
|
+
readonly Tasks: IList<EventTask>;
|
|
590
|
+
Dispose(): void;
|
|
543
591
|
}
|
|
544
592
|
|
|
545
593
|
|