Partilhar via


DependencyTelemetry Construtores

Definição

Sobrecargas

DependencyTelemetry()

Inicializa uma nova instância da classe DependencyTelemetry.

DependencyTelemetry(String, String, String, String)

Inicializa uma nova instância da DependencyTelemetry classe com os valores de propriedade , target, dependencyName, data fornecidosdependencyTypeName.

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

Inicializa uma nova instância da DependencyTelemetry classe com os valores de propriedade , data, startTimeduration e success fornecidosdependencyName.

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

Inicializa uma nova instância da DependencyTelemetry classe com os valores de dependencyTypeNamepropriedade , target, dependencyName, datastartTime, , durationresultCode e success fornecidos.

DependencyTelemetry()

Inicializa uma nova instância da classe DependencyTelemetry.

public DependencyTelemetry ();
Public Sub New ()

Aplica-se a

DependencyTelemetry(String, String, String, String)

Inicializa uma nova instância da DependencyTelemetry classe com os valores de propriedade , target, dependencyName, data fornecidosdependencyTypeName.

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)

Parâmetros

dependencyTypeName
String
target
String
dependencyName
String
data
String

Aplica-se a

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

Cuidado

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

Inicializa uma nova instância da DependencyTelemetry classe com os valores de propriedade , data, startTimeduration e success fornecidosdependencyName.

[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)

Parâmetros

dependencyName
String
data
String
startTime
DateTimeOffset
duration
TimeSpan
success
Boolean
Atributos

Aplica-se a

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

Inicializa uma nova instância da DependencyTelemetry classe com os valores de dependencyTypeNamepropriedade , target, dependencyName, datastartTime, , durationresultCode e success fornecidos.

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)

Parâmetros

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

Aplica-se a