從訊息和前一個例外狀況建立 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
在此例外狀況之前的例外狀況。