Skip to Content
author's profile photo Former Member
Former Member

ActionOnServerException Return Value?

Can anybody tell me, what's the difference between the different Return Values I can use within the Method OnServerException by using the SAP .NET Connector 2.0?

And is there a possibility to override the method, so that it has return-Type void? I want to do my own work when my Server-Connection is broken.

An answer would be very helpfull, so please tell me if someone knows.

Regards,

O.Rill

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Feb 08, 2005 at 05:14 PM

    Hi,

    you should make your own SAPServerHost implementation by inheriting the existing class and override the OnServerException method with you own implementation.

    Afterwards use your class in stead of SAPServerHost.

    Kind Regards,

    Koen

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hey,

      this is what I already did. But I use the Method ActionOnServerException to find out if an error in my connection occured. So I want to know what the Return Values of this Method do?!?!

      Already I know, that I could override these values, but It would be nice to know what they do. I think SAP could really make a little more detailled documentation.

      Regards,

      O.Rill

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.