Επεξεργασία

Κοινή χρήση μέσω


MessageDescriptionCollection.FindAll(String) Method

Definition

Finds and returns all of the message descriptions in a collection whose messages have a specified action.

public:
 System::Collections::ObjectModel::Collection<System::ServiceModel::Description::MessageDescription ^> ^ FindAll(System::String ^ action);
public System.Collections.ObjectModel.Collection<System.ServiceModel.Description.MessageDescription> FindAll (string action);
member this.FindAll : string -> System.Collections.ObjectModel.Collection<System.ServiceModel.Description.MessageDescription>
Public Function FindAll (action As String) As Collection(Of MessageDescription)

Parameters

action
String

The action of the messages being found.

Returns

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.

Remarks

If you need to find the first instance of the MessageDescription in the collection that match the specified action, use the Find(String) method instead.

Applies to