Share via


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

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 try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (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