0
public partial class TeamworkSurvey
{
    partial void OnValidate(System.Data.Linq.ChangeAction action)
    {
        if (true)
            throw new ArgumentException("No matter what you enter is invalid");
    }
}

很简单。当此方法返回时,它会抛出“ArgumentException 未被用户代码处理”。我应该怎么办?

4

0 回答 0