Partager via


DependencyTelemetry Constructeurs

Définition

Surcharges

DependencyTelemetry()

Initialise une nouvelle instance de la classe DependencyTelemetry.

DependencyTelemetry(String, String, String, String)

Initialise une nouvelle instance de la DependencyTelemetry classe avec les valeurs de dependencyTypeNamepropriété , target, dependencyName, data .

DependencyTelemetry(String, String, DateTimeOffset, TimeSpan, Boolean)
Obsolète.

Initialise une nouvelle instance de la DependencyTelemetry classe avec les valeurs de propriété , data, startTimeduration et success donnéesdependencyName.

DependencyTelemetry(String, String, String, String, DateTimeOffset, TimeSpan, String, Boolean)

Initialise une nouvelle instance de la DependencyTelemetry classe avec les valeurs de propriété , target, dependencyNamedata, startTime, durationresultCode et success et .dependencyTypeName

DependencyTelemetry()

Initialise une nouvelle instance de la classe DependencyTelemetry.

public DependencyTelemetry ();
Public Sub New ()

S’applique à

DependencyTelemetry(String, String, String, String)

Initialise une nouvelle instance de la DependencyTelemetry classe avec les valeurs de dependencyTypeNamepropriété , target, dependencyName, data .

public DependencyTelemetry (string dependencyTypeName, string target, string dependencyName, string data);
new Microsoft.ApplicationInsights.DataContracts.DependencyTelemetry : string * string * string * string -> Microsoft.ApplicationInsights.DataContracts.DependencyTelemetry
Public Sub New (dependencyTypeName As String, target As String, dependencyName As String, data As String)

Paramètres

dependencyTypeName
String
target
String
dependencyName
String
data
String

S’applique à

DependencyTelemetry(String, String, DateTimeOffset, TimeSpan, Boolean)

Attention

Use other constructors which allows to define dependency call with all the properties.

Initialise une nouvelle instance de la DependencyTelemetry classe avec les valeurs de propriété , data, startTimeduration et success donnéesdependencyName.

[System.Obsolete("Use other constructors which allows to define dependency call with all the properties.")]
public DependencyTelemetry (string dependencyName, string data, DateTimeOffset startTime, TimeSpan duration, bool success);
[<System.Obsolete("Use other constructors which allows to define dependency call with all the properties.")>]
new Microsoft.ApplicationInsights.DataContracts.DependencyTelemetry : string * string * DateTimeOffset * TimeSpan * bool -> Microsoft.ApplicationInsights.DataContracts.DependencyTelemetry
Public Sub New (dependencyName As String, data As String, startTime As DateTimeOffset, duration As TimeSpan, success As Boolean)

Paramètres

dependencyName
String
data
String
startTime
DateTimeOffset
duration
TimeSpan
success
Boolean
Attributs

S’applique à

DependencyTelemetry(String, String, String, String, DateTimeOffset, TimeSpan, String, Boolean)

Initialise une nouvelle instance de la DependencyTelemetry classe avec les valeurs de propriété , target, dependencyNamedata, startTime, durationresultCode et success et .dependencyTypeName

public DependencyTelemetry (string dependencyTypeName, string target, string dependencyName, string data, DateTimeOffset startTime, TimeSpan duration, string resultCode, bool success);
new Microsoft.ApplicationInsights.DataContracts.DependencyTelemetry : string * string * string * string * DateTimeOffset * TimeSpan * string * bool -> Microsoft.ApplicationInsights.DataContracts.DependencyTelemetry
Public Sub New (dependencyTypeName As String, target As String, dependencyName As String, data As String, startTime As DateTimeOffset, duration As TimeSpan, resultCode As String, success As Boolean)

Paramètres

dependencyTypeName
String
target
String
dependencyName
String
data
String
startTime
DateTimeOffset
duration
TimeSpan
resultCode
String
success
Boolean

S’applique à