Activity.IsFromStreamingConnection Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.