DefaultPortElementCollection 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
代表一組預設埠配置元素。
public ref class DefaultPortElementCollection sealed : System::ServiceModel::Configuration::ServiceModelEnhancedConfigurationElementCollection<System::ServiceModel::Configuration::DefaultPortElement ^>
[System.Configuration.ConfigurationCollection(typeof(System.ServiceModel.Configuration.DefaultPortElement), AddItemName="add")]
public sealed class DefaultPortElementCollection : System.ServiceModel.Configuration.ServiceModelEnhancedConfigurationElementCollection<System.ServiceModel.Configuration.DefaultPortElement>
[<System.Configuration.ConfigurationCollection(typeof(System.ServiceModel.Configuration.DefaultPortElement), AddItemName="add")>]
type DefaultPortElementCollection = class
inherit ServiceModelEnhancedConfigurationElementCollection<DefaultPortElement>
Public NotInheritable Class DefaultPortElementCollection
Inherits ServiceModelEnhancedConfigurationElementCollection(Of DefaultPortElement)
- 繼承
-
ServiceModelConfigurationElementCollection<TConfigurationElement>DefaultPortElementCollection
- 屬性
備註
預設埠是用戶端應用程式會監聽的預設通訊端點。
建構函式
| 名稱 | Description |
|---|---|
| DefaultPortElementCollection() |
建立一個新的類別實例 DefaultPortElementCollection 。 |
屬性
方法
明確介面實作
| 名稱 | Description |
|---|---|
| ICollection.CopyTo(Array, Int32) |
將 ConfigurationElementCollection 複製到陣列。 (繼承來源 ConfigurationElementCollection) |
擴充方法
| 名稱 | Description |
|---|---|
| AsParallel(IEnumerable) |
啟用查詢的平行處理。 |
| AsQueryable(IEnumerable) |
將 IEnumerable 轉換成 IQueryable。 |
| Cast<TResult>(IEnumerable) |
將 IEnumerable 的項目轉換成指定的型別。 |
| OfType<TResult>(IEnumerable) |
根據指定的型別篩選 IEnumerable 的專案。 |