共用方式為


TcpRelayTransportBindingElementImporter.IWsdlImportExtension.BeforeImport Method

Definition

Adds custom policy assertions to the WSDL bindings in WSDL documents that are to be imported.

void IWsdlImportExtension.BeforeImport (System.Web.Services.Description.ServiceDescriptionCollection wsdlDocuments, System.Xml.Schema.XmlSchemaSet xmlSchemas, System.Collections.Generic.ICollection<System.Xml.XmlElement> policy);
abstract member System.ServiceModel.Description.IWsdlImportExtension.BeforeImport : System.Web.Services.Description.ServiceDescriptionCollection * System.Xml.Schema.XmlSchemaSet * System.Collections.Generic.ICollection<System.Xml.XmlElement> -> unit
override this.System.ServiceModel.Description.IWsdlImportExtension.BeforeImport : System.Web.Services.Description.ServiceDescriptionCollection * System.Xml.Schema.XmlSchemaSet * System.Collections.Generic.ICollection<System.Xml.XmlElement> -> unit
Sub BeforeImport (wsdlDocuments As ServiceDescriptionCollection, xmlSchemas As XmlSchemaSet, policy As ICollection(Of XmlElement)) Implements IWsdlImportExtension.BeforeImport

Parameters

wsdlDocuments
ServiceDescriptionCollection

The collection of WSDL documents that are to be imported.

xmlSchemas
XmlSchemaSet

The collection of XML Schema documents that are to be imported.

policy
ICollection<XmlElement>

The collection of policy assertions that are to be imported.

Implements

Applies to