Microsoft.ApplicationInsights.DataContracts.DependencyTelemetry
The class that represents information about the collected dependency.
Learn more.
Gets or sets data associated with the current dependency instance. Command name/statement for SQL dependency, URL for http dependency.
Gets or sets the Result Code.
Gets or sets target of dependency call. SQL server name, url host, etc.
Gets or sets the dependency type name.
public DependencyTelemetry()
Initializes a new instance of the DependencyTelemetry class.
public DependencyTelemetry(string dependencyTypeName, string target, string dependencyName, string data)
Initializes a new instance of the DependencyTelemetry class with the given dependencyTypeName, target,
dependencyName, data property values.
public DependencyTelemetry(string dependencyTypeName, string target, string dependencyName, string data, DateTimeOffset startTime, TimeSpan duration, string resultCode, bool success)
Initializes a new instance of the DependencyTelemetry class with the given dependencyTypeName, target,
dependencyName, data, startTime, duration, resultCode
and success and property values.