Editar

Compartilhar via


TransportBindingElementImporter.IWsdlImportExtension.ImportEndpoint Method

Definition

Imports addressing information from the WSDL port and imports an HttpTransportBindingElement or an HttpsTransportBindingElement from the SOAP transport URI if a TransportBindingElement is not already imported from policy attached to the WSDL.

 virtual void System.ServiceModel.Description.IWsdlImportExtension.ImportEndpoint(System::ServiceModel::Description::WsdlImporter ^ importer, System::ServiceModel::Description::WsdlEndpointConversionContext ^ context) = System::ServiceModel::Description::IWsdlImportExtension::ImportEndpoint;
void IWsdlImportExtension.ImportEndpoint (System.ServiceModel.Description.WsdlImporter importer, System.ServiceModel.Description.WsdlEndpointConversionContext context);
abstract member System.ServiceModel.Description.IWsdlImportExtension.ImportEndpoint : System.ServiceModel.Description.WsdlImporter * System.ServiceModel.Description.WsdlEndpointConversionContext -> unit
override this.System.ServiceModel.Description.IWsdlImportExtension.ImportEndpoint : System.ServiceModel.Description.WsdlImporter * System.ServiceModel.Description.WsdlEndpointConversionContext -> unit
Sub ImportEndpoint (importer As WsdlImporter, context As WsdlEndpointConversionContext) Implements IWsdlImportExtension.ImportEndpoint

Parameters

importer
WsdlImporter

The WsdlImporter that performs the import.

context
WsdlEndpointConversionContext

The WsdlEndpointConversionContext for the contract binding element.

Implements

Exceptions

context is null.

-or-

context.Endpoint.Binding is null.

Remarks

This method does not import addressing information attached to the WSDL if the imported binding contains a TransportBindingElement that is not imported by this type.

Applies to