IVsDebugger2.GetSymbolPath(String, String) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Obtient le chemin d'accès aux symboles et les paramètres de cache en cours.
public:
int GetSymbolPath([Runtime::InteropServices::Out] System::String ^ % pbstrSymbolPath, [Runtime::InteropServices::Out] System::String ^ % pbstrSymbolCachePath);
int GetSymbolPath([Runtime::InteropServices::Out] std::wstring const & & pbstrSymbolPath, [Runtime::InteropServices::Out] std::wstring const & & pbstrSymbolCachePath);
public int GetSymbolPath (out string pbstrSymbolPath, out string pbstrSymbolCachePath);
abstract member GetSymbolPath : string * string -> int
Public Function GetSymbolPath (ByRef pbstrSymbolPath As String, ByRef pbstrSymbolCachePath As String) As Integer
Paramètres
- pbstrSymbolPath
- String
[out] Chemin d'accès actuel au symbole.
- pbstrSymbolCachePath
- String
[out] Chemin d'accès actuel au cache de symboles.
Retours
Si la méthode réussit, retourne S_OK. En cas d'échec, retourne un code d'erreur.
Remarques
Le chemin d’accès aux symboles, pbstrSymbolPath ou pbstrSymbolCachePath , est une liste d’emplacements de serveur de symboles, séparés par des points-virgules. Le cas échéant, il peut commencer par un ou plusieurs emplacements de cache suivis d’un point-virgule.
Le chemin d’accès aux symboles peut également contenir un ou plusieurs emplacements du cache. Les caches sont répertoriés par ordre de priorité, avec le cache avec la priorité la plus élevée en premier, et séparés par des symboles *. Par exemple :
\\symbols\symbols;\\someotherserver\symbols;c:\symbols\httpsymbols*http://msdl.microsoft.com
Signature COM
À partir de vsshell80. idl :
HRESULT GetSymbolPath(
[out] BSTR *pbstrSymbolPath,
[out] BSTR *pbstrSymbolCachePath
);