Upraviť

Zdieľať cez


WsdlEndpointConversionContext Class

Definition

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 following methods enable you to add or remove custom WSDL elements to the appropriate scopes in the exported or imported WSDL:

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)

Applies to