Método IVsDebugger2.GetEngineName (Guid, String)

 

Publicado: abril de 2016

Considerando o GUID de um mecanismo de depuração, retorna o nome do mecanismo.Use esse método com EnumDebugEngines para recuperar os nomes de todos os mecanismos de depuração ativos.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (em Microsoft.VisualStudio.Shell.Interop.8.0.dll)

Sintaxe

int GetEngineName(
    [InAttribute] ref Guid guidEngine,
    out string pbstrName
)
int GetEngineName(
    [InAttribute] Guid% guidEngine,
    [OutAttribute] String^% pbstrName
)
abstract GetEngineName : 
        guidEngine:Guid byref *
        pbstrName:string byref -> int
Function GetEngineName (
    <InAttribute> ByRef guidEngine As Guid,
    <OutAttribute> ByRef pbstrName As String
) As Integer

Parâmetros

  • guidEngine
    [in] O GUID do mecanismo de depuração.
  • pbstrName
    [out] Uma seqüência de caracteres que contém o nome do mecanismo de depuração.

Valor de retorno

Type: System.Int32

Se o método for bem-sucedido, ele retorna S_OK.Se ele falhar, ele retorna um código de erro.

Comentários

COM assinatura

De vsshell80.idl:

HRESULT IVsDebugger2::GetEngineName(
   [in] REFGUID guidEngine,
   [out] BSTR *pbstrName
);

Consulte também

Interface IVsDebugger2
Namespace Microsoft.VisualStudio.Shell.Interop

Retornar ao topo