gpt4 book ai didi

.NET 中的 java.lang.IllegalStateException?

转载 作者:IT老高 更新时间:2023-10-28 11:48:27 25 4
gpt4 key购买 nike

java.lang.IllegalStateException 的描述来自 Java 文档:

Signals that a method has been invoked at an illegal or inappropriate time. In other words, the Java environment or Java application is not in an appropriate state for the requested operation.

是否有 IllegalStateException 的等价物?在 .NET 框架中?

最佳答案

System.InvalidOperationException

The exception that is thrown when a method call is invalid for the object's current state.

关于.NET 中的 java.lang.IllegalStateException?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2108544/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com