Export (0) Print
Expand All

SymBinder.GetReader Method (Int32, String, String)

Note: This API is now obsolete.

Gets the interface of the symbol reader for the current file, using the specified 32-bit integer pointer to a metadata interface, the specified file name, and the specified search path.

Namespace:  System.Diagnostics.SymbolStore
Assembly:  ISymWrapper (in ISymWrapper.dll)

[ObsoleteAttribute("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 ISymbolReader GetReader(
	int importer,
	string filename,
	string searchPath


Type: System.Int32

A 32-bit integer that points to the metadata import interface.

Type: System.String

The name of the file for which the reader interface is required.

Type: System.String

The search path used to locate the symbol file.

Return Value

Type: System.Diagnostics.SymbolStore.ISymbolReader
The interface that reads the debugging symbols.


ISymbolBinder.GetReader(Int32, String, String)

When given a pointer to a metadata interface, a file name, and a search path, the GetReader method returns the ISymbolReader interface that reads the debugging symbols associated with the module.


Using a 32-bit integer as a pointer is not recommended. Use the GetReader(IntPtr, String, String) overload instead.

.NET Framework

Supported in: 1.1, 1.0
Obsolete (compiler warning) in 4.5
Obsolete (compiler warning) in 4
Obsolete (compiler warning) in 3.5
Obsolete (compiler warning) in 3.5 SP1
Obsolete (compiler warning) in 3.0
Obsolete (compiler warning) in 3.0 SP1
Obsolete (compiler warning) in 3.0 SP2
Obsolete (compiler warning) in 2.0
Obsolete (compiler warning) in 2.0 SP1
Obsolete (compiler warning) in 2.0 SP2

.NET Framework Client Profile

Obsolete (compiler warning) in 3.5 SP1

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

© 2015 Microsoft