WsdlImporter.ImportAllBindings Método

Definição

Retorna um conjunto de objetos Binding importados dos documentos de metadados.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)

Retornos

Collection<Binding>

Um conjunto de objetos Binding importados de documentos de metadados.A set of Binding objects imported from the metadata documents.

Exceções

O WsdlImporter encontrou um erro.The WsdlImporter has encountered an error.

Comentários

Use o ImportAllBindings método para importar todas as informações de Associação dos documentos de metadados e retorná-las como Binding objetos.Use the ImportAllBindings method to import all binding information from the metadata documents and return them as Binding objects. Verifique a Errors propriedade para determinar se há erros de importação antes de usar os objetos retornados.Check the Errors property to determine whether there are any import errors before using the returned objects.

Para importar uma associação WSDL específica, consulte o ImportBinding método.To import a specific WSDL binding, see the ImportBinding method.

Aplica-se a