Find Method
Collapse the table of content
Expand the table of content

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.

Namespace:  System.ServiceModel.Description
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

'Declaration
Public Function Find ( _
	action As String _
) As MessageDescription

Parameters

action
Type: System.String
The action of the message being found.

Return Value

Type: System.ServiceModel.Description.MessageDescription
The 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.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft