Mindscape.Raygun4Net.RaygunClient.RemoveWrapperExceptions C# (CSharp) 메소드

RemoveWrapperExceptions() 공개 메소드

Specifies types of wrapper exceptions that Raygun should send rather than stripping out and sending the inner exception. This can be used to remove the default wrapper exceptions (TargetInvocationException and AggregateException).
public RemoveWrapperExceptions ( ) : void
리턴 void
        public void RemoveWrapperExceptions(params Type[] wrapperExceptions)
        {
            foreach (Type wrapper in wrapperExceptions)
              {
            _wrapperExceptions.Remove(wrapper);
              }
        }