Activity.IsFromStreamingConnection 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
确定活动是通过 Http/Https 连接还是 Streaming 发送的。这可以通过查看 ServiceUrl 属性来确定:(1) 所有通过 http/https 发送消息的频道都不是 streaming (2) 通过 streaming 发送消息的频道的 ServiceUrl 开头不是 http/https。
public bool IsFromStreamingConnection();
member this.IsFromStreamingConnection : unit -> bool
Public Function IsFromStreamingConnection () As Boolean
返回
如此 如果活动源自流式处理连接。