AddressHeaderCollection.FindAll(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Finds all the address headers in the collection with the specified name and namespace.
public:
cli::array <System::ServiceModel::Channels::AddressHeader ^> ^ FindAll(System::String ^ name, System::String ^ ns);
public System.ServiceModel.Channels.AddressHeader[] FindAll (string name, string ns);
member this.FindAll : string * string -> System.ServiceModel.Channels.AddressHeader[]
Public Function FindAll (name As String, ns As String) As AddressHeader()
Parameters
- name
- String
The name of the address header to be found.
- ns
- String
The namespace of the address header to be found.
Returns
The Array of type AddressHeader that contains all the headers in the collection with the specified name and namespace.
Exceptions
name
or ns
is null
.
Examples
The following code snippet illustrates how to call this method.
Applies to
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET