When overridden in a derived class, returns the System.Web.Services.Discovery.DiscoveryReference object for a given file name.
A file name.
A class derived from System.Web.Services.Discovery.DiscoverySearchPattern implements the DiscoverySearchPattern.GetDiscoveryReference(string) method by returning its associated concrete class derived from System.Web.Services.Discovery.DiscoveryReference.
For example, the System.Web.Services.Discovery.ContractSearchPattern class returns a System.Web.Services.Discovery.ContractReference instance that contains the location of an .asmx Web service file and the corresponding dynamically generated Web Services Description Language (WSDL) document.