BypassElementCollection 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
表示略過 Proxy 伺服器之資源位址的容器 (Container)。 此類別無法獲得繼承。
public ref class BypassElementCollection sealed : System::Configuration::ConfigurationElementCollection
[System.Configuration.ConfigurationCollection(typeof(System.Net.Configuration.BypassElement))]
public sealed class BypassElementCollection : System.Configuration.ConfigurationElementCollection
[<System.Configuration.ConfigurationCollection(typeof(System.Net.Configuration.BypassElement))>]
type BypassElementCollection = class
inherit ConfigurationElementCollection
Public NotInheritable Class BypassElementCollection
Inherits ConfigurationElementCollection
- 繼承
- 屬性
備註
這個集合會保存組態專案中組 add
態項目的 bypasslist
實例。 元素 add
會指定位於伺服器上的資源位址。 當應用程式使用 WebRequest 或 WebClient 類別要求資源時,如果資源的位址位於 bypasslist
中,則要求會直接傳送至資源所在的伺服器,而不是傳送至 Proxy 伺服器。
建構函式
BypassElementCollection() |
初始化 BypassElementCollection 類別的空執行個體。 |
屬性
方法
明確介面實作
ICollection.CopyTo(Array, Int32) |
將 ConfigurationElementCollection 複製至陣列。 (繼承來源 ConfigurationElementCollection) |
擴充方法
Cast<TResult>(IEnumerable) |
將 IEnumerable 的項目轉換成指定的型別。 |
OfType<TResult>(IEnumerable) |
根據指定的型別來篩選 IEnumerable 的項目。 |
AsParallel(IEnumerable) |
啟用查詢的平行化作業。 |
AsQueryable(IEnumerable) |
將 IEnumerable 轉換成 IQueryable。 |