EventSource.GenerateManifest メソッド

定義

現在のイベント ソースに関連付けられている XML マニフェストの文字列を返します。

オーバーロード

GenerateManifest(Type, String, EventManifestOptions)

現在のイベント ソースに関連付けられている XML マニフェストの文字列を返します。

GenerateManifest(Type, String)

現在のイベント ソースに関連付けられている XML マニフェストの文字列を返します。

GenerateManifest(Type, String, EventManifestOptions)

ソース:
EventSource.cs
ソース:
EventSource.cs
ソース:
EventSource.cs

現在のイベント ソースに関連付けられている XML マニフェストの文字列を返します。

public:
 static System::String ^ GenerateManifest(Type ^ eventSourceType, System::String ^ assemblyPathToIncludeInManifest, System::Diagnostics::Tracing::EventManifestOptions flags);
public static string GenerateManifest (Type eventSourceType, string assemblyPathToIncludeInManifest, System.Diagnostics.Tracing.EventManifestOptions flags);
public static string? GenerateManifest (Type eventSourceType, string? assemblyPathToIncludeInManifest, System.Diagnostics.Tracing.EventManifestOptions flags);
static member GenerateManifest : Type * string * System.Diagnostics.Tracing.EventManifestOptions -> string
Public Shared Function GenerateManifest (eventSourceType As Type, assemblyPathToIncludeInManifest As String, flags As EventManifestOptions) As String

パラメーター

eventSourceType
Type

イベント ソースの型。

assemblyPathToIncludeInManifest
String

マニフェストのプロバイダー要素に格納するアセンブリ ファイル (.dll) のパス。

flags
EventManifestOptions

マニフェストの生成方法を示す列挙値のビットごとの組み合わせ。

戻り値

XML データ文字列または null

注釈

を指定OnlyIfNeededForRegistrationし、指定した が明示的な登録をeventSourceType必要としない場合flagsは、 GenerateManifest を返しますnull

適用対象

GenerateManifest(Type, String)

ソース:
EventSource.cs
ソース:
EventSource.cs
ソース:
EventSource.cs

現在のイベント ソースに関連付けられている XML マニフェストの文字列を返します。

public:
 static System::String ^ GenerateManifest(Type ^ eventSourceType, System::String ^ assemblyPathToIncludeInManifest);
public static string GenerateManifest (Type eventSourceType, string assemblyPathToIncludeInManifest);
public static string? GenerateManifest (Type eventSourceType, string? assemblyPathToIncludeInManifest);
static member GenerateManifest : Type * string -> string
Public Shared Function GenerateManifest (eventSourceType As Type, assemblyPathToIncludeInManifest As String) As String

パラメーター

eventSourceType
Type

イベント ソースの型。

assemblyPathToIncludeInManifest
String

マニフェストのプロバイダー要素に格納するアセンブリ ファイル (.dll) のパス。

戻り値

XML データ文字列。

注釈

イベント マニフェストの XML スキーマに関する情報については、「 イベント マニフェスト スキーマ」を参照してください。

適用対象