P4ExceptionThrow Method (ErrorSeverity, String)
|
Create and throw an exception if it exceeds the MinThrowLevel
Namespace:
Perforce.P4
Assembly:
p4api.net (in p4api.net.dll) Version: 2024.1.261.8274
Syntaxpublic static void Throw(
ErrorSeverity nLevel,
string nMessage
)
Public Shared Sub Throw (
nLevel As ErrorSeverity,
nMessage As String
)
public:
static void Throw(
ErrorSeverity nLevel,
String^ nMessage
)
static member Throw :
nLevel : ErrorSeverity *
nMessage : string -> unit
Parameters
- nLevel
- Type: Perforce.P4ErrorSeverity
Severity level - nMessage
- Type: SystemString
Error message
See Also