SystemProviderId

唯一識別系統提供者。

元素階層

Syntax

<SystemProviderId Value = IdType>

  <!-- Child elements -->
  Keywords,
  Stacks,
  PoolTags

</SystemProviderId>

屬性和項目

屬性

屬性 描述 資料類型 必要 預設
唯一識別系統提供者。 必須至少有一個字元且不能包含冒號的字串, (:) 或空格。 Yes

子元素

元素 描述 需求
關鍵字 (在 SystemProvider 中) 表示系統提供者關鍵字的集合。 必要,剛好是 1。
堆疊 表示堆疊的集合。 必要,剛好是 1。
PoolTags 表示集區標籤的集合。 必要,剛好是 1。

父項目

元素 描述
Collectors 表示系統收集器識別碼、事件收集器識別碼和選擇性堆積事件收集器識別碼的集合。

備註

如需撰寫系統提供者定義的詳細資訊,請參閱 2。系統和事件提供者定義3。設定檔定義

範例

下列程式碼範例顯示包含這個專案之設定檔定義的 區段。

<Profile
  Id="Example.Light.File"
  Name="Example"
  DetailLevel="Light"
  LoggingMode="File"
  Description="Example profile">
  <ProblemCategories> 
    <ProblemCategory
      Value="First Level Triage"/>
  </ProblemCategories> 
  <Collectors>
    <SystemCollectorId
      Value="WPRSystemCollector">
      <SystemProviderId
        Value="system-provider"/>
    </SystemCollectorId>
…
  </Collectors>
</Profile>

元素