Share via


Transmission Class

Definition

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

public ref class Transmission
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, String, TimeSpan)

Initializes a new instance of the Transmission class.

Transmission(Uri, Byte[], String, String, 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.

ContentHash

Gets content hash, which should be unique per content. For perf reason it is calculated only when requested for the first time.

ContentType

Gets the content's type of the transmission.

EndpointAddress

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

EventTelemetryLevel

Gets or sets the telemetry level classification of the events in the Transmission

Timeout

Gets a timeout value for the transmission.

Methods

CreateRequest(Uri)

Creates a post web request.

SendAsync(CancellationToken)

Executes the request that the current transmission represents.

ToString()

Build string out of object

Applies to