SymBinder.GetReader Método
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
Obtém a interface do leitor de símbolos para o ficheiro atual.
Sobrecargas
| Name | Description |
|---|---|
| GetReader(Int32, String, String) |
Obsoleto.
Obtém a interface do leitor de símbolos para o ficheiro atual, usando o ponteiro inteiro de 32 bits especificado para uma interface de metadados, o nome do ficheiro especificado e o caminho de pesquisa especificado. |
| GetReader(IntPtr, String, String) |
Obtém a interface do leitor de símbolos para o ficheiro atual, usando o ponteiro especificado para uma interface de metadados, o nome do ficheiro especificado e o caminho de pesquisa especificado. |
GetReader(Int32, String, String)
Atenção
The recommended alternative is SymBinder.GetReader(IntPtr, String). ISymbolBinder1.GetReader takes the importer interface pointer as an IntPtr instead of an Int32, and thus works on both 32-bit and 64-bit architectures. http://go.microsoft.com/fwlink/?linkid=14202
Obtém a interface do leitor de símbolos para o ficheiro atual, usando o ponteiro inteiro de 32 bits especificado para uma interface de metadados, o nome do ficheiro especificado e o caminho de pesquisa especificado.
public:
override System::Diagnostics::SymbolStore::ISymbolReader ^ GetReader(int importer, System::String ^ filename, System::String ^ searchPath);
public:
virtual System::Diagnostics::SymbolStore::ISymbolReader ^ GetReader(int importer, System::String ^ filename, System::String ^ searchPath);
public override System.Diagnostics.SymbolStore.ISymbolReader GetReader(int importer, string filename, string searchPath);
[System.Obsolete("The recommended alternative is SymBinder.GetReader(IntPtr, String). ISymbolBinder1.GetReader takes the importer interface pointer as an IntPtr instead of an Int32, and thus works on both 32-bit and 64-bit architectures. http://go.microsoft.com/fwlink/?linkid=14202")]
public override System.Diagnostics.SymbolStore.ISymbolReader GetReader(int importer, string filename, string searchPath);
[System.Obsolete("The recommended alternative is SymBinder.GetReader(IntPtr, String). ISymbolBinder1.GetReader takes the importer interface pointer as an IntPtr instead of an Int32, and thus works on both 32-bit and 64-bit architectures. http://go.microsoft.com/fwlink/?linkid=14202")]
public virtual System.Diagnostics.SymbolStore.ISymbolReader GetReader(int importer, string filename, string searchPath);
abstract member GetReader : int * string * string -> System.Diagnostics.SymbolStore.ISymbolReader
override this.GetReader : int * string * string -> System.Diagnostics.SymbolStore.ISymbolReader
[<System.Obsolete("The recommended alternative is SymBinder.GetReader(IntPtr, String). ISymbolBinder1.GetReader takes the importer interface pointer as an IntPtr instead of an Int32, and thus works on both 32-bit and 64-bit architectures. http://go.microsoft.com/fwlink/?linkid=14202")>]
abstract member GetReader : int * string * string -> System.Diagnostics.SymbolStore.ISymbolReader
override this.GetReader : int * string * string -> System.Diagnostics.SymbolStore.ISymbolReader
Public Overrides Function GetReader (importer As Integer, filename As String, searchPath As String) As ISymbolReader
Public Overridable Function GetReader (importer As Integer, filename As String, searchPath As String) As ISymbolReader
Parâmetros
- importer
- Int32
Um inteiro de 32 bits que aponta para a interface de importação de metadados.
- filename
- String
O nome do ficheiro para o qual é necessária a interface do leitor.
- searchPath
- String
O caminho de pesquisa usado para localizar o ficheiro de símbolos.
Devoluções
A interface que lê os símbolos de depuração.
Implementações
- Atributos
Observações
Quando recebe um ponteiro para uma interface de metadados, um nome de ficheiro e um caminho de pesquisa, o GetReader método devolve a ISymbolReader interface que lê os símbolos de depuração associados ao módulo.
Note
Não é recomendado usar um inteiro de 32 bits como apontador. Usa a GetReader sobrecarga em vez disso.
Aplica-se a
GetReader(IntPtr, String, String)
Obtém a interface do leitor de símbolos para o ficheiro atual, usando o ponteiro especificado para uma interface de metadados, o nome do ficheiro especificado e o caminho de pesquisa especificado.
public:
override System::Diagnostics::SymbolStore::ISymbolReader ^ GetReader(IntPtr importer, System::String ^ filename, System::String ^ searchPath);
public:
virtual System::Diagnostics::SymbolStore::ISymbolReader ^ GetReader(IntPtr importer, System::String ^ filename, System::String ^ searchPath);
public override System.Diagnostics.SymbolStore.ISymbolReader GetReader(IntPtr importer, string filename, string searchPath);
public virtual System.Diagnostics.SymbolStore.ISymbolReader GetReader(IntPtr importer, string filename, string searchPath);
abstract member GetReader : nativeint * string * string -> System.Diagnostics.SymbolStore.ISymbolReader
override this.GetReader : nativeint * string * string -> System.Diagnostics.SymbolStore.ISymbolReader
Public Overrides Function GetReader (importer As IntPtr, filename As String, searchPath As String) As ISymbolReader
Public Overridable Function GetReader (importer As IntPtr, filename As String, searchPath As String) As ISymbolReader
Parâmetros
- importer
-
IntPtr
nativeint
Uma estrutura que aponta para a interface de importação de metadados.
- filename
- String
O nome do ficheiro para o qual é necessária a interface do leitor.
- searchPath
- String
O caminho de pesquisa usado para localizar o ficheiro de símbolos.
Devoluções
A interface que lê os símbolos de depuração.
Implementações
Observações
Quando recebe um ponteiro para uma interface de metadados, um nome de ficheiro e um caminho de pesquisa, o GetReader método devolve a ISymbolReader interface que lê os símbolos de depuração associados ao módulo.