語言

Activity.IsFromStreamingConnection 方法

定義

判斷活動是透過 Http/Https 連線還是串流傳送,可透過查看 ServiceUrl 屬性來判斷:(1) 所有透過 http/https 傳送訊息的頻道並非串流 (2) 透過串流傳送訊息的頻道的服務網址不以 http/https 開頭。

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

傳回

如果活動源自串流連線,則為 True。

適用於