WsdlImporter.ImportAllBindings Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.