Does a SOAPException throw exit a function call?

Discussion in 'ASP .Net Web Services' started by Mark A. Deal, Feb 25, 2005.

  1. Mark A. Deal

    Mark A. Deal Guest

    If I throw a SOAP exception such as

    Throw SoapException("An error occurred", SoapException.ClientFaultCode)

    from a webservice method then do I then need to call a Return to exit the
    method or does the call to the SoapException stop the processing of the
    function and return to the client?

    ie.

    Throw SoapException("An error occurred", SoapException.ClientFaultCode)
    Return -1

    TIA

    --
    Mark A. Deal
    Document & Data Solutions, LLC
    http://www.docsol.com
    Time Matters AIC
    HotDocs Certified Consultant
    GhostFill Certified Consultant
     
    Mark A. Deal, Feb 25, 2005
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    15
    Views:
    7,555
    Roedy Green
    Sep 8, 2005
  2. Replies:
    34
    Views:
    910
    Alf P. Steinbach
    Dec 2, 2007
  3. Ajay Choudhary

    how to throw SoapException from HttpApplication

    Ajay Choudhary, May 23, 2005, in forum: ASP .Net Web Services
    Replies:
    0
    Views:
    122
    Ajay Choudhary
    May 23, 2005
  4. Greg Robinson

    Throw a SoapException or Return a string?

    Greg Robinson, Jun 13, 2005, in forum: ASP .Net Web Services
    Replies:
    1
    Views:
    111
    erymuzuan
    Jun 14, 2005
  5. John Saunders
    Replies:
    0
    Views:
    382
    John Saunders
    Aug 23, 2006
Loading...

Share This Page