FindAll Method
Collapse the table of content
Expand the table of content

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.

Namespace:  System.ServiceModel.Description
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.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft