MessageDescriptionCollection.Find Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Finds and returns the first message description in a collection for a message with a specified action.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Parameters
- action
- Type: System.String
The action of the message being found.
Return Value
Type: System.ServiceModel.Description.MessageDescriptionThe first MessageDescription from the collection whose message has the specified action and Nothing if no matching action is found.
If you need to find all of the MessageDescription objects in the collection that match the specified action, use the FindAll(String) method instead.
Show: