CoverageDatabase Class

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Represents a coverage database file. This class and its members are reserved for internal use and are not intended to be used in your code.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Coverage.Analysis.Database.CoverageDatabase

Namespace:  Microsoft.VisualStudio.Coverage.Analysis.Database
Assembly:  Microsoft.VisualStudio.Coverage.Analysis (in Microsoft.VisualStudio.Coverage.Analysis.dll)

Syntax

'Declaration
Public Class CoverageDatabase _
    Implements IDisposable
public class CoverageDatabase : IDisposable
public ref class CoverageDatabase : IDisposable
type CoverageDatabase =  
    class
        interface IDisposable
    end
public class CoverageDatabase implements IDisposable

The CoverageDatabase type exposes the following members.

Methods

  Name Description
Public method AddConstraints Adds the constraints to the database. This class and its members are reserved for internal use and are not intended to be used in your code.
Public method AddModule Adds a module to the database by using the provided parameters. This class and its members are reserved for internal use and are not intended to be used in your code.
Public methodStatic member Create(String) Creates and populates a coverage database from the specified file. This class and its members are reserved for internal use and are not intended to be used in your code.
Public methodStatic member Create(String, Boolean) Creates and populates a coverage database from the specified file and optionally adds the constraints. This class and its members are reserved for internal use and are not intended to be used in your code.
Public methodStatic member CreateFromCoverage(String, String) Creates a new coverage database file by using the provided path of the coverage file and the provided database file path.
Public methodStatic member CreateFromCoverage(String, IEnumerable<String>, IEnumerable<String>, String) Creates a new coverage database file by using the provided parameters. This class and its members are reserved for internal use and are not intended to be used in your code.
Public method Dispose Releases all resources that are used by the CoverageDatabase. This class and its members are reserved for internal use and are not intended to be used in your code.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetModules Gets a list of all modules in the coverage database. This class and its members are reserved for internal use and are not intended to be used in your code.
Public method GetTests Gets a list of all tests in the coverage database. This class and its members are reserved for internal use and are not intended to be used in your code.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public methodStatic member IsDatabaseFile Determines whether the specified file is a database file. This class and its members are reserved for internal use and are not intended to be used in your code.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a String that represents the current Object. (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.Coverage.Analysis.Database Namespace