Bewerken

Delen via


WSTrustServiceContract.ExportContract Method

Definition

When implemented in a derived class, writes custom Web Services Description Language (WSDL) elements into the generated WSDL for a contract.

public:
 virtual void ExportContract(System::ServiceModel::Description::WsdlExporter ^ exporter, System::ServiceModel::Description::WsdlContractConversionContext ^ context);
public virtual void ExportContract (System.ServiceModel.Description.WsdlExporter exporter, System.ServiceModel.Description.WsdlContractConversionContext context);
abstract member ExportContract : System.ServiceModel.Description.WsdlExporter * System.ServiceModel.Description.WsdlContractConversionContext -> unit
override this.ExportContract : System.ServiceModel.Description.WsdlExporter * System.ServiceModel.Description.WsdlContractConversionContext -> unit
Public Overridable Sub ExportContract (exporter As WsdlExporter, context As WsdlContractConversionContext)

Parameters

exporter
WsdlExporter

The WsdlExporter that exports the contract information.

context
WsdlContractConversionContext

Provides mappings from exported WSDL elements to the contract description.

Implements

Remarks

Provides an implementation of the ExportContract method. The default implementation does nothing. You can override this method in a derived class to implement specific behavior.

Applies to