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

.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
)

Parameters

eventSourceType
Type: System::Type^

The type of the event source.

assemblyPathToIncludeInManifest
Type: System::String^

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

Return Value

Type: System::String^

The XML data string.

The information about the XML schema for the event manifest, see Event Manifest Schema in the MSDN Library.

Universal Windows Platform
Available since 8
.NET Framework
Available since 4.5
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1
Return to top
Show: