Share via


Activity.IsFromStreamingConnection Method

Definition

Determine if the Activity was sent via an Http/Https connection or Streaming This can be determined by looking at the ServiceUrl property: (1) All channels that send messages via http/https are not streaming (2) Channels that send messages via streaming have a ServiceUrl that does not begin with http/https.

public bool IsFromStreamingConnection ();
member this.IsFromStreamingConnection : unit -> bool
Public Function IsFromStreamingConnection () As Boolean

Returns

True if the Activity originated from a streaming connection.

Applies to