你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Transmission 构造函数

定义

重载

Transmission()

初始化 Transmission 类的新实例。 此重载用于测试目的。

Transmission(Uri, ICollection<ITelemetry>, TimeSpan)

初始化 Transmission 类的新实例。

Transmission(Uri, Byte[], String, String, TimeSpan)

初始化 Transmission 类的新实例。

Transmission()

初始化 Transmission 类的新实例。 此重载用于测试目的。

protected internal Transmission ();
Protected Friend Sub New ()

适用于

Transmission(Uri, ICollection<ITelemetry>, TimeSpan)

初始化 Transmission 类的新实例。

public Transmission (Uri address, System.Collections.Generic.ICollection<Microsoft.ApplicationInsights.Channel.ITelemetry> telemetryItems, TimeSpan timeout = default);
new Microsoft.ApplicationInsights.Channel.Transmission : Uri * System.Collections.Generic.ICollection<Microsoft.ApplicationInsights.Channel.ITelemetry> * TimeSpan -> Microsoft.ApplicationInsights.Channel.Transmission
Public Sub New (address As Uri, telemetryItems As ICollection(Of ITelemetry), Optional timeout As TimeSpan = Nothing)

参数

address
Uri
telemetryItems
ICollection<ITelemetry>
timeout
TimeSpan

适用于

Transmission(Uri, Byte[], String, String, TimeSpan)

初始化 Transmission 类的新实例。

public Transmission (Uri address, byte[] content, string contentType, string contentEncoding, TimeSpan timeout = default);
new Microsoft.ApplicationInsights.Channel.Transmission : Uri * byte[] * string * string * TimeSpan -> Microsoft.ApplicationInsights.Channel.Transmission
Public Sub New (address As Uri, content As Byte(), contentType As String, contentEncoding As String, Optional timeout As TimeSpan = Nothing)

参数

address
Uri
content
Byte[]
contentType
String
contentEncoding
String
timeout
TimeSpan

适用于