serverpreview:PerformanceProvider
Identifies a performance counter to add to the server-specific app extensions.
Element hierarchy
- <Package>
-
- <Applications>
-
- <Application>
-
- <Extensions>
-
- <serverpreview:Extension>
-
- <serverpreview:PerformanceProviders>
- <serverpreview:PerformanceProvider>
Syntax
<serverpreview:PerformanceProvider Id = GUID in the form
xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.
ManifestFile = A string between 1 and 256 characters in
length that must end with ".xml" and
cannot contain these characters: <, >,
:, ", |, ?, or *.
ResourceFile = A string between 1 and 256 characters in
length that must end with ".exe" or
".dll" and cannot contain these
characters: <, >, :, ", |, ?, or *. >
</serverpreview:PerformanceProvider>
Attributes and Elements
Attributes
Attribute | Description | Data type | Required | Default value |
---|---|---|---|---|
Id | The unique identifier of the performance counter provider. | A GUID in the form xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx. | Yes | |
ManifestFile | The name of the manifest file for the performance counter. | A string between 1 and 256 characters in length that must end with ".xml" and cannot contain these characters: <, >, :, ", | , ?, or *. | Yes |
ResourceFile | The name of the application resource file for the performance counter. | A string between 1 and 256 characters in length that must end with ".exe" or ".dll" and cannot contain these characters: <, >, :, ", | , ?, or *. | Yes |
Child Elements
None.
Parent Elements
Parent Element | Description |
---|---|
severpreview:PerformanceProviders | Declares an app extensibility point of type windows.performanceProviders. |
Remarks
The performance counter extension is only available only on the Windows Server platform. This extension is ignored on other platforms.
The performance counter extension allows only V2 providers.
Examples
The following example identifies a performance counter to add to the server-specific app extensions.
<Package ...
xmlns:serverpreview=http://schemas.microsoft.com/appx/manifest/serverpreview/windows10"
IgnorableNamespaces="... serverpreview">
<Applications>
<Application>
<Extensions>
<serverpreview:Extension Category="windows.performanceProviders">
<serverpreview:PerformanceProviders>
<serverpreview:PerformanceProvider Id="19b99d4e-deef-4de5-9fe8-5d53a01f79e0"
ManifestFile="Counters.xml"
ResourceFile="PerfSample.exe" />
</serverpreview:PerformanceProviders>
</serverpreview:Extension>
</Extensions>
</Application>
</Applications>
</Package>
Requirements
Namespace | http://schemas.microsoft.com/appx/manifest/serverpreview/windows10 |
Feedback
We'd love to hear your thoughts. Choose the type you'd like to provide:
Our feedback system is built on GitHub Issues. Read more on our blog.
Loading feedback...