共用方式為


Transmission Constructors

Definition

Overloads

Transmission()

Initializes a new instance of the Transmission class. This overload is for Test purposes.

Transmission(Uri, ICollection<ITelemetry>, TimeSpan)

Initializes a new instance of the Transmission class.

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

Initializes a new instance of the Transmission class.

Transmission()

Initializes a new instance of the Transmission class. This overload is for Test purposes.

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

Applies to

Transmission(Uri, ICollection<ITelemetry>, TimeSpan)

Initializes a new instance of the Transmission class.

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)

Parameters

address
Uri
telemetryItems
ICollection<ITelemetry>
timeout
TimeSpan

Applies to

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

Initializes a new instance of the Transmission class.

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)

Parameters

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

Applies to