Редактиране

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


ICorProfilerInfo::EndInprocDebugging Method

Shuts down an in-process debugging session. This method is obsolete in .NET Framework version 2.0.

Syntax

HRESULT EndInprocDebugging(  
    [in]  DWORD dwProfilerContext);  

Parameters

dwProfilerContext
[in] A value that identifies the debugging session. This value must be the same as that received in the ICorProfilerInfo::BeginInprocDebugging method.

Remarks

You must call ICorProfilerInfo::BeginInprocDebugging and EndInprocDebugging within the same callback method.

The CLR debugging services supported limited in-process debugging in the .NET Framework versions 1.0 and 1.1. In-process debugging enabled a profiler to use the inspection portions of the debugging API. However, due to customer feedback, in-process debugging has been removed from the .NET Framework in version 2.0, and replaced with a set of functionality that is more in line with the profiling API.

Requirements

Platforms: See System Requirements.

Header: CorProf.idl, CorProf.h

Library: CorGuids.lib

.NET Framework Version: 1.0

See also