MessageDescriptionCollection.FindAll Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Finds and returns all of the message descriptions in a collection whose messages have a specified action.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
'Declaration Public Function FindAll ( _ action As String _ ) As Collection(Of MessageDescription)
Parameters
- action
- Type: System.String
The action of the messages being found.
Return Value
Type: System.Collections.ObjectModel.Collection(Of MessageDescription)A MessageDescriptionCollection that contains the collection message descriptions from the current collection whose messages have the specified action. If no matching MessageDescription objects are found, an empty collection is returned.
If you need to find the first instance of the MessageDescription in the collection that matches the specified action, use the Find(String) method instead.
Show: