WsdlImporter.ImportBinding(Binding) 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 Binding object that represents binding information from a set of metadata documents.
public:
System::ServiceModel::Channels::Binding ^ ImportBinding(System::Web::Services::Description::Binding ^ wsdlBinding);
public System.ServiceModel.Channels.Binding ImportBinding (System.Web.Services.Description.Binding wsdlBinding);
member this.ImportBinding : System.Web.Services.Description.Binding -> System.ServiceModel.Channels.Binding
Public Function ImportBinding (wsdlBinding As Binding) As Binding
Parameters
Returns
A Binding object that represents binding information from a set of metadata documents.
Exceptions
The WsdlImporter has encountered an error.
The wsdlBinding
parameter is null
.
Remarks
Use the ImportBinding method to use a System.Web.Services.Description.Binding object to locate binding information in the metadata and return that binding information as a System.ServiceModel.Channels.Binding object. Check the Errors property to determine whether there are any import errors before using the returned object.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om