語言

EventDefinitionBase.WarningAsError(String) 方法

定義

回傳一個警告為錯誤的例外,將該事件封裝給定訊息。

protected virtual Exception WarningAsError(string message);
abstract member WarningAsError : string -> Exception
override this.WarningAsError : string -> Exception
Protected Overridable Function WarningAsError (message As String) As Exception

參數

message
String

要收尾的訊息。

傳回

適用於