EventSource.GenerateManifest Metodo

Definizione

Restituisce una stringa del manifesto XML associato all'origine evento corrente.

Overload

GenerateManifest(Type, String, EventManifestOptions)

Restituisce una stringa del manifesto XML associato all'origine evento corrente.

GenerateManifest(Type, String)

Restituisce una stringa del manifesto XML associato all'origine evento corrente.

GenerateManifest(Type, String, EventManifestOptions)

Origine:
EventSource.cs
Origine:
EventSource.cs
Origine:
EventSource.cs

Restituisce una stringa del manifesto XML associato all'origine evento corrente.

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

Parametri

eventSourceType
Type

Tipo dell'origine evento.

assemblyPathToIncludeInManifest
String

Percorso del file di assembly (DLL) da includere nell'elemento provider del manifesto.

flags
EventManifestOptions

Combinazione bit per bit dei valori di enumerazione che specificano le modalità di generazione del manifesto.

Restituisce

Stringa di dati XML o null.

Commenti

Se flags specifica OnlyIfNeededForRegistration e l'oggetto eventSourceType specificato non richiede la registrazione esplicita, GenerateManifest restituisce null.

Si applica a

GenerateManifest(Type, String)

Origine:
EventSource.cs
Origine:
EventSource.cs
Origine:
EventSource.cs

Restituisce una stringa del manifesto XML associato all'origine evento corrente.

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

Parametri

eventSourceType
Type

Tipo dell'origine evento.

assemblyPathToIncludeInManifest
String

Percorso del file di assembly (DLL) da includere nell'elemento provider del manifesto.

Restituisce

Stringa di dati XML.

Commenti

Le informazioni sullo schema XML per il manifesto dell'evento, vedere Schema manifesto eventi.

Si applica a