ICorProfilerInfo12::EventPipeCreateProvider method

Creates an EventPipe provider that the profiler can use to write events for other EventPipe listeners to receive.

Syntax

    HRESULT EventPipeCreateProvider(
                [in, string] const WCHAR    *providerName,
                [out] EVENTPIPE_PROVIDER    *pProvider);

Parameters

providerName
[in] The name of the provider to create.

pProvider
[out] A caller provided pointer that will be filled with the ID of the provider when the function returns.

Requirements

Platforms: See .NET supported operating systems.

Header: CorProf.idl, CorProf.h

.NET Versions: Available since .NET 5.0

See also