大家好,
Message: Object reference not set to an instance of an object.
Exception Type: System.NullReferenceException
我的流程总是报这个错误,我想获取更准确的错误提示
想用下面的方法尝试:
in that case you could place a Rethrow in the Catch and find out what the error is or also output
exception.Source+" - "+exception.Message
我不知道该如何操作,能给我个例子吗?