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
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.