Share via


EventDefinitionBase.WarningAsError(String) Method

Definition

Returns a warning-as-error exception wrapping the given message for this event.

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

Parameters

message
String

The message to wrap.

Returns

Applies to