WsdlImporter.ImportAllBindings Method ()

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

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

Public Function ImportAllBindings As Collection(Of Binding)

Return Value

Type: System.Collections.ObjectModel.Collection(Of 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: