Exceptions4.

ThrowRuntimeException(int, string, Exception, bool) Method

Syntax

[System.ObsoleteAttribute]
public static void ThrowRuntimeException(int code, string msg, Exception cause, bool doLog)

Attributes

Type Description
ObsoleteAttribute

Parameters

Name Type Description
code int
msg string
cause Exception
doLog bool

Return Value

Type Description
void