How can we help you today? How can we help you today?

Exclude specific local variable in method from error report?

Is this possible? I know about [DoNotCaptureVariables] but that excludes everything, I only want to exclude some specific variables.
claus.net
0

Comments

1 comment

  • Jessica R
    Hi Claus,

    I'm afraid not. :/

    You can exclude member variables of a class using the [DoNotCapture] attribute, but .NET doesn't allow attributes to be applied to local variables.

    Please let me know if you have any other questions!
    Jessica R
    0

Add comment

Please sign in to leave a comment.