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 type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | ContractConversionContext | Gets the WsdlContractConversionContext being exported or imported. |
![]() | Endpoint | Gets the ServiceEndpoint being exported or imported. |
![]() | WsdlBinding | Gets the Binding for the WSDL endpoint. |
![]() | WsdlPort | Gets the Port for the WSDL endpoint. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetFaultBinding | Gets the WSDL binding associated with the fault. |
![]() | GetFaultDescription | Gets the description for the fault associated with the WSDL fault binding. |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetMessageBinding | Gets the WSDL binding for the message specified by the description. |
![]() | GetMessageDescription | Gets the message description for the message specified by the WSDL binding. |
![]() | GetOperationBinding | Gets the WSDL binding for the operation specified by the description. |
![]() | GetOperationDescription | Returns the operation description of the operation associated with the WSDL binding. |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
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 SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
