WsdlImporter.ImportAllBindings Method ()

 

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

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

member ImportAllBindings : unit -> Collection<Binding>

Return Value

Type: System.Collections.ObjectModel.Collection<Binding>

A set of Binding objects imported from the metadata documents.

Exception Condition
InvalidOperationException

The WsdlImporter has encountered an error.

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.

.NET Framework
Available since 3.0
Return to top
Show: