desktop10:CustomEventSource

説明

カスタム イベント ログ内のイベント ソースを定義します。

要素の階層

<パッケージ>

    <拡張機能>

         <desktop10:Extension>

              <desktop10:CustomDesktopEventLog>

                   <desktop10:CustomEventSource>

構文

<desktop10:CustomEventSource
  EventSourceName = 'A string with a value between 1 and 32767 characters in length that cannot start or end with a whitespace character. May contain whitespace characters in between the first and last values.'
  CategoryCount = 'An optional unsigned integer value. A number between -2147483648 and 2147483647.'
  CategoryMessageFile = 'A string with a value between 1 and 256 characters in length and cannot contain these characters: <, >, :, ", |, ?, or *.'
  >

  <!-- Child Elements -->
  desktop10:CustomEventSource
  desktop10:TypesSupported

</desktop10:CustomEventSource>

属性と要素

属性

属性 説明 データ型 必須 既定値
EventSourceName カスタム イベント ソースの名前。 レジストリ キー名として使用されます。 空白文字で開始または終了できない長さが 1 ~ 32767 文字の文字列。 先頭と最後の値の間に空白文字を含めることができます。 Yes
CategoryCount サポートされているイベント カテゴリの数。 省略可能な符号なし整数値。 -2147483648 と 2147483647 の間の数値。 いいえ
CategoryMessageFile カテゴリ メッセージ ファイルへのパス。 カテゴリ メッセージ ファイルには、カテゴリを記述する言語に依存する文字列が含まれています。 長さが 1 ~ 256 文字の文字列。、、>:"|?または *の文字<を含めることはできません。 いいえ

子要素

子要素 説明
desktop10:EventMessageFiles イベントを記述する言語文字列を含む 1 つ以上の DLL ファイルを定義します。
desktop10:TypesSupported イベント ソースでサポートされる 1 つ以上のイベント ログの種類を定義します。

親要素

親要素 説明
desktop10:CustomDesktopEventLog アプリの機能拡張ポイントを宣言します。

注釈

カスタム イベント ソースの詳細については、「 イベント ソース」を参照してください。

必要条件

Item
desktop10 http://schemas.microsoft.com/appx/manifest/desktop/windows10/10
Minimum OS Version Windows 11 バージョン 22H2 (ビルド 22621)