IDkmMCppSymbolProvider.GetManagedCppMethodScope Yöntem

Tanım

Verilen yönerge simgesiyle belirtilen konumun en içteki etkin kapsamı ile ilgili sembol bilgilerini döndürür ve bu, yönetilen C++ ile derlendiğine varsayılır.

public:
 Microsoft::VisualStudio::Debugger::Clr::Cpp::DkmMCppMethodScope ^ GetManagedCppMethodScope(Microsoft::VisualStudio::Debugger::Clr::DkmClrInstructionSymbol ^ clrInstruction, Microsoft::VisualStudio::Debugger::Native::Cpp::DkmNativeCppInspectionSession ^ inspectionSession);
public Microsoft.VisualStudio.Debugger.Clr.Cpp.DkmMCppMethodScope GetManagedCppMethodScope (Microsoft.VisualStudio.Debugger.Clr.DkmClrInstructionSymbol clrInstruction, Microsoft.VisualStudio.Debugger.Native.Cpp.DkmNativeCppInspectionSession inspectionSession);
abstract member GetManagedCppMethodScope : Microsoft.VisualStudio.Debugger.Clr.DkmClrInstructionSymbol * Microsoft.VisualStudio.Debugger.Native.Cpp.DkmNativeCppInspectionSession -> Microsoft.VisualStudio.Debugger.Clr.Cpp.DkmMCppMethodScope
Public Function GetManagedCppMethodScope (clrInstruction As DkmClrInstructionSymbol, inspectionSession As DkmNativeCppInspectionSession) As DkmMCppMethodScope

Parametreler

clrInstruction
DkmClrInstructionSymbol

'Ndaki Dkmclrkomutctionsymbol, hedef işlemde ortak dil çalışma zamanı (CLR) altında çalışan bir Il yönergesini temsil eder. Bu nesne, yöntem sürüm numarasını içerir. Bu nedenle, Düzenle ve devam et senaryolarında, metodun farklı sürümleri için yönerge simgesi farklı olacaktır. Bu nesne genel bağlama parametreleri hakkında bilgi içermiyor. Bu nedenle, bir yöntemin farklı genel örneklemeleri (örn: MyMethod < dizesi > ve MyMethod < Int > ), clr onları tek bir yöntem belirteciyle temsil ettiğinden aynı yönerge simgesiyle temsil edilir.

inspectionSession
DkmNativeCppInspectionSession

'Ndaki Gerekirse yerel C++ türlerinin oluşturulması için kullanılacak İnceleme oturumu.

Döndürülenler

DkmMCppMethodScope

Dışı Verilen yönerge sembolünün en içteki etkin kapsamı.

Şunlara uygulanır