AddressHeaderCollection コンストラクター

定義

AddressHeaderCollection クラスの新しいインスタンスを初期化します。

オーバーロード

名前 説明
AddressHeaderCollection()

AddressHeaderCollection クラスの新しいインスタンスを初期化します。

AddressHeaderCollection(IEnumerable<AddressHeader>)

列挙可能なアドレス ヘッダーのセットから、 AddressHeaderCollection クラスの新しいインスタンスを初期化します。

AddressHeaderCollection()

ソース:
AddressHeaderCollection.cs
ソース:
AddressHeaderCollection.cs
ソース:
AddressHeaderCollection.cs

AddressHeaderCollection クラスの新しいインスタンスを初期化します。

public:
 AddressHeaderCollection();
public AddressHeaderCollection();
Public Sub New ()

次のコード スニペットは、パラメーターなしのコンストラクターを使用して AddressHeaderCollection クラスのインスタンスを作成する方法を示しています。

適用対象

AddressHeaderCollection(IEnumerable<AddressHeader>)

ソース:
AddressHeaderCollection.cs
ソース:
AddressHeaderCollection.cs
ソース:
AddressHeaderCollection.cs

列挙可能なアドレス ヘッダーのセットから、 AddressHeaderCollection クラスの新しいインスタンスを初期化します。

public:
 AddressHeaderCollection(System::Collections::Generic::IEnumerable<System::ServiceModel::Channels::AddressHeader ^> ^ addressHeaders);
public AddressHeaderCollection(System.Collections.Generic.IEnumerable<System.ServiceModel.Channels.AddressHeader> addressHeaders);
new System.ServiceModel.Channels.AddressHeaderCollection : seq<System.ServiceModel.Channels.AddressHeader> -> System.ServiceModel.Channels.AddressHeaderCollection
Public Sub New (addressHeaders As IEnumerable(Of AddressHeader))

パラメーター

addressHeaders
IEnumerable<AddressHeader>

コレクションの初期化に使用IEnumerable<T>オブジェクトのAddressHeaderセット。

例外

addressHeaders パラメーターのアドレス ヘッダーの 1 つがnullです。

次のコード スニペットは、 AddressHeaderCollection クラスのインスタンスを作成する方法を示しています。

適用対象