共用方式為


ICodeCoverageSummary Interface

Note: This API is now obsolete.

Interface for a CodeCoverageSummary type of IBuildInformationNode.

To obtain an ICodeCoverageSummary, use the InformationNodeConverters class.

Namespace:  Microsoft.TeamFoundation.Build.Client
Assembly:  Microsoft.TeamFoundation.Build.Client (in Microsoft.TeamFoundation.Build.Client.dll)

Syntax

'Declaration
<ObsoleteAttribute("This class has been deprecated. Please remove all references.",  _
    False)> _
Public Interface ICodeCoverageSummary
[ObsoleteAttribute("This class has been deprecated. Please remove all references.", 
    false)]
public interface ICodeCoverageSummary
[ObsoleteAttribute(L"This class has been deprecated. Please remove all references.", 
    false)]
public interface class ICodeCoverageSummary
[<ObsoleteAttribute("This class has been deprecated. Please remove all references.", 
    false)>]
type ICodeCoverageSummary =  interface end
public interface ICodeCoverageSummary

The ICodeCoverageSummary type exposes the following members.

Properties

  Name Description
Public property BlocksCovered Gets or sets the number of blocks that are covered by this code coverage run.
Public property BlocksNotCovered Gets or sets the number of blocks that are not covered by this code coverage run.
Public property Id Gets the ID of the underlying IBuildInformationNode of this code coverage summary.
Public property IsBuildCoverageProcessing Gets or sets a flag that describes whether this code coverage run is currently processing.
Public property LinesCovered Gets or sets the number of lines that are covered by this code coverage run.
Public property LinesNotCovered Gets or sets the number of lines that are not covered by this code coverage run.
Public property LinesPartiallyCovered Gets or sets the number of lines that are partially covered by this code coverage run.
Public property Name Gets or sets the name of this code coverage run.
Public property Node Gets the underlying IBuildInformationNode of this code coverage run.
Public property RunId Gets or sets the ID of this code coverage run.
Public property RunUser Gets or sets the user who initiated this code coverage run.

Top

Methods

  Name Description
Public method Save Saves this code coverage summary to the server.

Top

See Also

Reference

Microsoft.TeamFoundation.Build.Client Namespace