Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

EventSource::GenerateManifest Method (Type^, String^, EventManifestOptions)

.NET Framework (current version)
 

Returns a string of the XML manifest that is associated with the current event source.

Namespace:   System.Diagnostics.Tracing
Assembly:  mscorlib (in mscorlib.dll)

public:
static String^ GenerateManifest(
	Type^ eventSourceType,
	String^ assemblyPathToIncludeInManifest,
	EventManifestOptions flags
)

Parameters

eventSourceType
Type: System::Type^

The type of the event source.

assemblyPathToIncludeInManifest
Type: System::String^

The path to the assembly file (.dll) file to include in the provider element of the manifest.

flags
Type: System.Diagnostics.Tracing::EventManifestOptions

A bitwise combination of the enumeration values that specify how the manifest is generated.

Return Value

Type: System::String^

The XML data string or null (see remarks).

If flags specifies OnlyIfNeededForRegistration and the eventSourceType specified does not require explicit registration, GenerateManifest returns null.

Universal Windows Platform
Available since 10
.NET Framework
Available since 4.6
Return to top
Show:
© 2017 Microsoft