Compartir a través de


ICorProfilerInfo::GetThreadContext (Método)

Obtiene la identidad del contexto asociado actualmente al subproceso especificado.

HRESULT GetThreadContext(
    [in]  ThreadID  threadId,
    [out] ContextID *pContextId);

Parámetros

  • threadId
    [in] Identificador del subproceso.

  • pContextId
    [out] Puntero al identificador del contexto actualmente asociado al subproceso especificado. Si el subproceso no tiene ningún contexto asociado actualmente, esta función devolverá CORPROF_E_DATAINCOMPLETE.

Requisitos

Plataformas: vea Requisitos de sistema de .NET Framework.

Encabezado: CorProf.idl, CorProf.h

Biblioteca: CorGuids.lib

Versiones de .NET Framework: 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0

Vea también

Referencia

ICorProfilerInfo (Interfaz)