IWsdlImportExtension::BeforeImport Method (ServiceDescriptionCollection^, XmlSchemaSet^, ICollection<XmlElement^>^)
.NET Framework (current version)
Called prior to importing metadata documents.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
void BeforeImport(
ServiceDescriptionCollection^ wsdlDocuments,
XmlSchemaSet^ xmlSchemas,
ICollection<XmlElement^>^ policy
)
Parameters
- wsdlDocuments
-
Type:
System.Web.Services.Description::ServiceDescriptionCollection^
The service descriptions to modify.
- xmlSchemas
-
Type:
System.Xml.Schema::XmlSchemaSet^
The schema collection to be used when importing.
- policy
-
Type:
System.Collections.Generic::ICollection<XmlElement^>^
The policy assertions used when importing.
The BeforeImport methods of all registered IWsdlImportExtension objects is called before anything is imported from the supplied metadata.
.NET Framework
Available since 3.0
Available since 3.0
Show: