Редактиране

Споделяне чрез


ICorProfilerInfo12::EventPipeAddProviderToSession method

Adds a provider to an existing EventPipe session.

Syntax

    HRESULT EventPipeAddProviderToSession(
        [in] EVENTPIPE_SESSION                 session,
        [in] COR_PRF_EVENTPIPE_PROVIDER_CONFIG providerConfig);

Parameters

session
[in] The ID of the session to add the provider to.

providerConfig
[in] A COR_PRF_EVENTPIPE_PROVIDER_CONFIG describing the provider to add to the session.

Requirements

Platforms: See .NET supported operating systems.

Header: CorProf.idl, CorProf.h

.NET Versions: Available since .NET 5.0

See also