Get input parameter values

Discussion in 'ASP .Net Web Services' started by ANCH, May 12, 2004.

  1. ANCH

    ANCH Guest

    Hi

    Is there any way to get the values of input parameter of current executing web method programmatically? I just want to put the input parameters into an eventlog when exception occur within the webmetho

    Thank

    ANCH
    ANCH, May 12, 2004
    #1
    1. Advertising

  2. You can do it using the StackFrame and reflection.
    This article shows an example
    http://www.codeproject.com/csharp/customtracelistener.asp

    -Dino


    "ANCH" <> wrote in message
    news:...
    > Hi,
    >
    > Is there any way to get the values of input parameter of current executing

    web method programmatically? I just want to put the input parameters into an
    eventlog when exception occur within the webmethod
    >
    > Thanks
    >
    > ANCH
    Dino Chiesa [Microsoft], May 13, 2004
    #2
    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. Eqbal Z
    Replies:
    2
    Views:
    8,178
    calvinss4
    Sep 22, 2009
  2. Meendar
    Replies:
    1
    Views:
    747
  3. DC
    Replies:
    0
    Views:
    503
  4. jcpc
    Replies:
    2
    Views:
    1,474
  5. Abdul Mohsin
    Replies:
    1
    Views:
    264
Loading...

Share This Page