WsdlEndpointConversionContext Class
Passed to custom WSDL exporters and importers to enable customization of the metadata export and import processes for a WSDL endpoint.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
The WsdlEndpointConversionContext class represents the context in which the custom WSDL for an endpoint is either exported using System.ServiceModel.Description.IWsdlExportExtension or imported using System.ServiceModel.Description.IWsdlImportExtension. The following properties enable you to retrieve the WSDL document object model for the current WSDL:
The ContractConversionContext property gets the System.ServiceModel.Description.WsdlContractConversionContext for the endpoint contract.
The Endpoint property gets the System.ServiceModel.Description.ServiceEndpoint for the current endpoint.
The WsdlBinding property gets the binding for the current endpoint.
The WsdlPort property gets the port for the current endpoint.
The following methods enable you to add or remove custom WSDL elements to the appropriate scopes in the exported or imported WSDL:
The GetFaultBinding method returns the fault binding for the specified fault.
The GetFaultDescription method returns the fault for the specified fault binding.
The GetMessageBinding method returns the message binding for the specified message.
The GetMessageDescription method returns the message for the specified message binding.
The GetOperationBinding method returns the operation binding for the specified operation.
The GetOperationDescription method returns the operation for the specified operation binding.
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.