Custom faults in asmx
Ever wanted to return a custom SOAP fault from asmx without the extra information about where the error is coming from etc.? Try this:
<configuration>
<system.web>
<customErrors mode="On" />
</system.web>
</configuration>
Tento prohlížeč se už nepodporuje.
Upgradujte na Microsoft Edge, abyste mohli využívat nejnovější funkce, aktualizace zabezpečení a technickou podporu.
Ever wanted to return a custom SOAP fault from asmx without the extra information about where the error is coming from etc.? Try this:
<configuration>
<system.web>
<customErrors mode="On" />
</system.web>
</configuration>