你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Transmission 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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