WsdlEndpointConversionContext Class
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.
Passed to custom WSDL exporters and importers to enable customization of the metadata export and import processes for a WSDL endpoint.
public ref class WsdlEndpointConversionContext
public class WsdlEndpointConversionContext
type WsdlEndpointConversionContext = class
Public Class WsdlEndpointConversionContext
- Inheritance
-
WsdlEndpointConversionContext
Remarks
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.
Properties
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. |
Methods
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
GetFaultBinding(FaultDescription) |
Gets the WSDL binding associated with the fault. |
GetFaultDescription(FaultBinding) |
Gets the description for the fault associated with the WSDL fault binding. |
GetHashCode() |
Serves as the default hash function. (Inherited from Object) |
GetMessageBinding(MessageDescription) |
Gets the WSDL binding for the message specified by the description. |
GetMessageDescription(MessageBinding) |
Gets the message description for the message specified by the WSDL binding. |
GetOperationBinding(OperationDescription) |
Gets the WSDL binding for the operation specified by the description. |
GetOperationDescription(OperationBinding) |
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) |