MessageEncodingBindingElementImporter.IWsdlImportExtension.BeforeImport Method (ServiceDescriptionCollection, XmlSchemaSet, ICollection<XmlElement>)

 

Called prior to importing the metadata documents associated with the encoding.

Namespace:   System.ServiceModel.Channels
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

void IWsdlImportExtension.BeforeImport(
	ServiceDescriptionCollection wsdlDocuments,
	XmlSchemaSet xmlSchemas,
	ICollection<XmlElement> policy
)

Parameters

wsdlDocuments
Type: System.Web.Services.Description.ServiceDescriptionCollection

The ServiceDescriptionCollection that describes the services.

xmlSchemas
Type: System.Xml.Schema.XmlSchemaSet

The XmlSchemaSet that contains the schema for the wsdlDocuments.

policy
Type: System.Collections.Generic.ICollection<XmlElement>

The ICollection<T> of type XmlElement that contains the policy elements.

This method is used to inspect, modify and interpret the policy and WSDL before the MessageEncodingBindingElementImporter does the import.

.NET Framework
Available since 3.0
Return to top
Show: