Share via


IHttpTelemetryConsumer.OnConnectionEstablished Method

Definition

Overloads

Name Description
OnConnectionEstablished(DateTime, Int32, Int32)

Called when a new HTTP connection is established.

OnConnectionEstablished(DateTime, Int32, Int32, Int64, String, String, Int32, String)

Called when a new HTTP connection is established.

OnConnectionEstablished(DateTime, Int32, Int32)

Source:
IHttpTelemetryConsumer.cs
Source:
IHttpTelemetryConsumer.cs

Called when a new HTTP connection is established.

public virtual void OnConnectionEstablished(DateTime timestamp, int versionMajor, int versionMinor);
abstract member OnConnectionEstablished : DateTime * int * int -> unit
override this.OnConnectionEstablished : DateTime * int * int -> unit
Public Overridable Sub OnConnectionEstablished (timestamp As DateTime, versionMajor As Integer, versionMinor As Integer)

Parameters

timestamp
DateTime

Timestamp when the event was fired.

versionMajor
Int32

Major component of the connection's HTTP version.

versionMinor
Int32

Minor component of the connection's HTTP version.

Applies to

OnConnectionEstablished(DateTime, Int32, Int32, Int64, String, String, Int32, String)

Source:
IHttpTelemetryConsumer.cs
Source:
IHttpTelemetryConsumer.cs

Called when a new HTTP connection is established.

public virtual void OnConnectionEstablished(DateTime timestamp, int versionMajor, int versionMinor, long connectionId, string scheme, string host, int port, string? remoteAddress);
abstract member OnConnectionEstablished : DateTime * int * int * int64 * string * string * int * string -> unit
override this.OnConnectionEstablished : DateTime * int * int * int64 * string * string * int * string -> unit
Public Overridable Sub OnConnectionEstablished (timestamp As DateTime, versionMajor As Integer, versionMinor As Integer, connectionId As Long, scheme As String, host As String, port As Integer, remoteAddress As String)

Parameters

timestamp
DateTime

Timestamp when the event was fired.

versionMajor
Int32

Major component of the connection's HTTP version.

versionMinor
Int32

Minor component of the connection's HTTP version.

connectionId
Int64

ID of the connection that was established, unique for this process.

scheme
String

Scheme the connection was established with.

host
String

Host the connection was established to.

port
Int32

Port the connection was established to.

remoteAddress
String

The remote address this connection was established to, if available.

Applies to