ContractSearchPattern.GetDiscoveryReference(String) Método
Definição
Cria o objeto ContractReference para o arquivo .asmx especificado.Creates the ContractReference object for the specified .asmx file.
public:
override System::Web::Services::Discovery::DiscoveryReference ^ GetDiscoveryReference(System::String ^ filename);
public override System.Web.Services.Discovery.DiscoveryReference GetDiscoveryReference (string filename);
override this.GetDiscoveryReference : string -> System.Web.Services.Discovery.DiscoveryReference
Public Overrides Function GetDiscoveryReference (filename As String) As DiscoveryReference
Parâmetros
- filename
- String
O caminho do sistema de arquivos do arquivo .asmx do serviço Web.The file-system path of the Web service's .asmx file.
Retornos
Um objeto ContractReference com o nome de arquivo especificado para seu arquivo .asmx.A ContractReference object with the specified file name for its .asmx file.
Comentários
A ContractReference classe concreta herda da classe abstrata DiscoveryReference .The concrete ContractReference class inherits from the abstract DiscoveryReference class.
Uma ContractReference instância do contém o local do arquivo. asmx e o documento WSDL (linguagem de descrição de serviços Web) correspondente, que pode ser obtido dinamicamente com a anexação de uma cadeia de caracteres de consulta WSDL ao caminho do arquivo. asmx.A ContractReference instance contains the location of the .asmx file and the corresponding Web Services Description Language (WSDL) document, which can be dynamically obtained by appending a wsdl query string to the .asmx file path.