C# Class Microsoft.HockeyApp.DataContracts.DependencyTelemetry

Inheritance: ITelemetry, ISupportProperties
显示文件 Open project: bitstadium/HockeySDK-Windows Class Usage Examples

Private Properties

Property Type Description
ITelemetry void

Public Methods

Method Description
DependencyTelemetry ( ) : System

Initializes a new instance of the DependencyTelemetry class.

DependencyTelemetry ( string dependencyName, string commandName, DateTimeOffset startTime, System.TimeSpan duration, bool success ) : System

Initializes a new instance of the DependencyTelemetry class with the given dependencyName, commandName, startTime, duration and success property values.

Private Methods

Method Description
ITelemetry ( ) : void

Sanitizes the properties based on constraints.

Method Details

DependencyTelemetry() public method

Initializes a new instance of the DependencyTelemetry class.
public DependencyTelemetry ( ) : System
return System

DependencyTelemetry() public method

Initializes a new instance of the DependencyTelemetry class with the given dependencyName, commandName, startTime, duration and success property values.
public DependencyTelemetry ( string dependencyName, string commandName, DateTimeOffset startTime, System.TimeSpan duration, bool success ) : System
dependencyName string
commandName string
startTime DateTimeOffset
duration System.TimeSpan
success bool
return System