利用消息和以前的异常创建 ParseErrorException 类的新实例。
命名空间: System.Spatial
程序集: System.Spatial(在 System.Spatial.dll 中)
语法
声明
Public Sub New ( _
message As String, _
innerException As Exception _
)
用法
Dim message As String
Dim innerException As Exception
Dim instance As New ParseErrorException(message, _
innerException)
public ParseErrorException(
string message,
Exception innerException
)
public:
ParseErrorException(
String^ message,
Exception^ innerException
)
new :
message:string *
innerException:Exception -> ParseErrorException
public function ParseErrorException(
message : String,
innerException : Exception
)
参数
- message
类型:System.String
关于异常的消息。
- innerException
类型:System.Exception
在此之前的异常。