-
Notifications
You must be signed in to change notification settings - Fork 1.6k
/
Instrumentation.xml
269 lines (247 loc) · 15.2 KB
/
Instrumentation.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
<Type Name="Instrumentation" FullName="System.Management.Instrumentation.Instrumentation">
<TypeSignature Language="C#" Value="public class Instrumentation" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit Instrumentation extends System.Object" />
<TypeSignature Language="DocId" Value="T:System.Management.Instrumentation.Instrumentation" />
<TypeSignature Language="VB.NET" Value="Public Class Instrumentation" />
<TypeSignature Language="F#" Value="type Instrumentation = class" />
<TypeSignature Language="C++ CLI" Value="public ref class Instrumentation" />
<AssemblyInfo>
<AssemblyName>System.Management</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
</Base>
<Interfaces />
<Docs>
<summary>Provides helper functions for exposing events and data for management. There is a single instance of this class per application domain.
Note: the WMI .NET libraries are now considered in final state, and no further development, enhancements, or updates will be available for non-security related issues affecting these libraries. The <see href="https://learn.microsoft.com/previous-versions/windows/desktop/wmi_v2/windows-management-infrastructure">MI APIs</see> should be used for all new development.</summary>
<remarks>To be added.</remarks>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public Instrumentation ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Management.Instrumentation.Instrumentation.#ctor" />
<MemberSignature Language="VB.NET" Value="Public Sub New ()" />
<MemberSignature Language="C++ CLI" Value="public:
 Instrumentation();" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>System.Management</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters />
<Docs>
<summary>Initializes a new instance of the <see cref="T:System.Management.Instrumentation.Instrumentation" /> class.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The parameterless constructor initializes any fields to their default values.
## .NET Framework Security
Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see [Using Libraries from Partially Trusted Code](/dotnet/framework/misc/using-libraries-from-partially-trusted-code).
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="Fire">
<MemberSignature Language="C#" Value="public static void Fire (object eventData);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig void Fire(object eventData) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Management.Instrumentation.Instrumentation.Fire(System.Object)" />
<MemberSignature Language="VB.NET" Value="Public Shared Sub Fire (eventData As Object)" />
<MemberSignature Language="F#" Value="static member Fire : obj -> unit" Usage="System.Management.Instrumentation.Instrumentation.Fire eventData" />
<MemberSignature Language="C++ CLI" Value="public:
 static void Fire(System::Object ^ eventData);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Management</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="eventData" Type="System.Object" />
</Parameters>
<Docs>
<param name="eventData">The object that determines the class, properties, and values of the event.</param>
<summary>Raises a management event.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
## .NET Framework Security
Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see [Using Libraries from Partially Trusted Code](/dotnet/framework/misc/using-libraries-from-partially-trusted-code).
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="IsAssemblyRegistered">
<MemberSignature Language="C#" Value="public static bool IsAssemblyRegistered (System.Reflection.Assembly assemblyToRegister);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig bool IsAssemblyRegistered(class System.Reflection.Assembly assemblyToRegister) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Management.Instrumentation.Instrumentation.IsAssemblyRegistered(System.Reflection.Assembly)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function IsAssemblyRegistered (assemblyToRegister As Assembly) As Boolean" />
<MemberSignature Language="F#" Value="static member IsAssemblyRegistered : System.Reflection.Assembly -> bool" Usage="System.Management.Instrumentation.Instrumentation.IsAssemblyRegistered assemblyToRegister" />
<MemberSignature Language="C++ CLI" Value="public:
 static bool IsAssemblyRegistered(System::Reflection::Assembly ^ assemblyToRegister);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Management</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="assemblyToRegister" Type="System.Reflection.Assembly" />
</Parameters>
<Docs>
<param name="assemblyToRegister">The <see cref="T:System.Reflection.Assembly" /> containing instrumentation instance or event types.</param>
<summary>Determines if the instrumentation schema of the specified assembly has already been correctly registered with WMI.</summary>
<returns>
<see langword="true" /> if the instrumentation schema in the specified assembly is registered with WMI; otherwise, <see langword="false" />.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
## .NET Framework Security
Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see [Using Libraries from Partially Trusted Code](/dotnet/framework/misc/using-libraries-from-partially-trusted-code).
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="Publish">
<MemberSignature Language="C#" Value="public static void Publish (object instanceData);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig void Publish(object instanceData) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Management.Instrumentation.Instrumentation.Publish(System.Object)" />
<MemberSignature Language="VB.NET" Value="Public Shared Sub Publish (instanceData As Object)" />
<MemberSignature Language="F#" Value="static member Publish : obj -> unit" Usage="System.Management.Instrumentation.Instrumentation.Publish instanceData" />
<MemberSignature Language="C++ CLI" Value="public:
 static void Publish(System::Object ^ instanceData);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Management</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="instanceData" Type="System.Object" />
</Parameters>
<Docs>
<param name="instanceData">The object that is to be visible through management instrumentation.</param>
<summary>Makes an instance visible through management instrumentation.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
## .NET Framework Security
Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see [Using Libraries from Partially Trusted Code](/dotnet/framework/misc/using-libraries-from-partially-trusted-code).
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="RegisterAssembly">
<MemberSignature Language="C#" Value="public static void RegisterAssembly (System.Reflection.Assembly assemblyToRegister);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig void RegisterAssembly(class System.Reflection.Assembly assemblyToRegister) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Management.Instrumentation.Instrumentation.RegisterAssembly(System.Reflection.Assembly)" />
<MemberSignature Language="VB.NET" Value="Public Shared Sub RegisterAssembly (assemblyToRegister As Assembly)" />
<MemberSignature Language="F#" Value="static member RegisterAssembly : System.Reflection.Assembly -> unit" Usage="System.Management.Instrumentation.Instrumentation.RegisterAssembly assemblyToRegister" />
<MemberSignature Language="C++ CLI" Value="public:
 static void RegisterAssembly(System::Reflection::Assembly ^ assemblyToRegister);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Management</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="assemblyToRegister" Type="System.Reflection.Assembly" />
</Parameters>
<Docs>
<param name="assemblyToRegister">The <see cref="T:System.Reflection.Assembly" /> containing instrumentation instance or event types.</param>
<summary>Registers the management instance or event classes in the specified assembly with WMI. This ensures that the instrumentation schema is accessible to <see cref="N:System.Management" /> client applications.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
## .NET Framework Security
Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see [Using Libraries from Partially Trusted Code](/dotnet/framework/misc/using-libraries-from-partially-trusted-code).
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="Revoke">
<MemberSignature Language="C#" Value="public static void Revoke (object instanceData);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig void Revoke(object instanceData) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Management.Instrumentation.Instrumentation.Revoke(System.Object)" />
<MemberSignature Language="VB.NET" Value="Public Shared Sub Revoke (instanceData As Object)" />
<MemberSignature Language="F#" Value="static member Revoke : obj -> unit" Usage="System.Management.Instrumentation.Instrumentation.Revoke instanceData" />
<MemberSignature Language="C++ CLI" Value="public:
 static void Revoke(System::Object ^ instanceData);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Management</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="instanceData" Type="System.Object" />
</Parameters>
<Docs>
<param name="instanceData">The object to remove from visibility for management instrumentation.</param>
<summary>Makes an instance that was previously published through the <see cref="M:System.Management.Instrumentation.Instrumentation.Publish(System.Object)" /> method no longer visible through management instrumentation.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
## .NET Framework Security
Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see [Using Libraries from Partially Trusted Code](/dotnet/framework/misc/using-libraries-from-partially-trusted-code).
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="SetBatchSize">
<MemberSignature Language="C#" Value="public static void SetBatchSize (Type instrumentationClass, int batchSize);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig void SetBatchSize(class System.Type instrumentationClass, int32 batchSize) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Management.Instrumentation.Instrumentation.SetBatchSize(System.Type,System.Int32)" />
<MemberSignature Language="VB.NET" Value="Public Shared Sub SetBatchSize (instrumentationClass As Type, batchSize As Integer)" />
<MemberSignature Language="F#" Value="static member SetBatchSize : Type * int -> unit" Usage="System.Management.Instrumentation.Instrumentation.SetBatchSize (instrumentationClass, batchSize)" />
<MemberSignature Language="C++ CLI" Value="public:
 static void SetBatchSize(Type ^ instrumentationClass, int batchSize);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Management</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="instrumentationClass" Type="System.Type" />
<Parameter Name="batchSize" Type="System.Int32" />
</Parameters>
<Docs>
<param name="instrumentationClass">The class for which the batch size is being set.</param>
<param name="batchSize">The maximum number of objects to be provided at a time.</param>
<summary>Specifies the maximum number of objects of the specified type to be provided at a time.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
## .NET Framework Security
Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see [Using Libraries from Partially Trusted Code](/dotnet/framework/misc/using-libraries-from-partially-trusted-code).
]]></format>
</remarks>
</Docs>
</Member>
</Members>
</Type>