Share via


Transmission Constructors

Definition

Overloads

Transmission()

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

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

Initializes a new instance of the Transmission class.

Transmission(Uri, Byte[], String, 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 public:
 Transmission();
protected internal Transmission ();
Protected Friend Sub New ()

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.VisualStudio.ApplicationInsights.Channel.Transmission : Uri * byte[] * string * string * TimeSpan -> Microsoft.VisualStudio.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

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

Initializes a new instance of the Transmission class.

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

Parameters

address
Uri
content
Byte[]
contentType
String
contentEncoding
String
apiKey
String

The 68 char ingestion key from aria used for Collector

timeout
TimeSpan

Applies to