Sdílet prostřednictvím


Transmission Class

Definition

Implements an asynchronous transmission of data to an HTTP POST endpoint.

public class Transmission
type Transmission = class
Public Class Transmission
Inheritance
Transmission

Constructors

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, ICollection<ITelemetry>, TimeSpan)

Initializes a new instance of the Transmission class.

Properties

Content

Gets the content of the transmission.

ContentEncoding

Gets the encoding method of the transmission.

ContentType

Gets the content's type of the transmission.

EndpointAddress

Gets the Address of the endpoint to which transmission will be sent.

Id

Gets an id of the transmission.

TelemetryItems

Gets the number of telemetry items in the transmission.

Timeout

Gets a timeout value for the transmission.

TransmissionStatusEvent

Gets or Sets an event notification to track ingestion endpoint response.

Methods

CreateRequest(Uri)
Obsolete.

Creates a post web request.

CreateRequestMessage(Uri, Stream)

Creates an http request for sending a transmission.

SendAsync()

Executes the request that the current transmission represents.

Split(Func<Int32,Int32>)

Splits the Transmission object into two pieces using a method to determine the length of the first piece based off of the length of the transmission.

Applies to