Edit

Share via


AddressHeaderCollection.FindAll(String, String) Method

Definition

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