ICorProfilerInfo12::EventPipeStopSession method

Stops an EventPipe session, preventing any future events from being written to the session.

Syntax

    HRESULT EventPipeStopSession(
        [in] EVENTPIPE_SESSION session);

Parameters

session
[in] The ID of the session to stop.

Requirements

Platforms: See .NET supported operating systems.

Header: CorProf.idl, CorProf.h

.NET Versions: Available since .NET 5.0

See also