Επεξεργασία

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


WsdlImporter.ImportAllBindings Method

Definition

Returns a set of Binding objects imported from the metadata documents.

public:
 System::Collections::ObjectModel::Collection<System::ServiceModel::Channels::Binding ^> ^ ImportAllBindings();
public System.Collections.ObjectModel.Collection<System.ServiceModel.Channels.Binding> ImportAllBindings ();
member this.ImportAllBindings : unit -> System.Collections.ObjectModel.Collection<System.ServiceModel.Channels.Binding>
Public Function ImportAllBindings () As Collection(Of Binding)

Returns

A set of Binding objects imported from the metadata documents.

Exceptions

The WsdlImporter has encountered an error.

Remarks

Use the ImportAllBindings method to import all binding information from the metadata documents and return them as Binding objects. Check the Errors property to determine whether there are any import errors before using the returned objects.

To import a specific WSDL binding, see the ImportBinding method.

Applies to