MessageDescriptionCollection.Find Method

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)

public MessageDescription Find(
	string 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 null 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.


Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions