[This is preliminary documentation and is subject to change.]

Create and throw an exception if it exceeds the MinThrowLevel

Namespace: Perforce.P4
Assembly: p4api.net (in p4api.net.dll) Version: 2012.2.63.1250 (2012.2.63.1250)

Syntax

C#
public static void Throw(
	ErrorSeverity nLevel,
	string nMessage
)
Visual Basic
Public Shared Sub Throw ( _
	nLevel As ErrorSeverity, _
	nMessage As String _
)
Visual C++
public:
static void Throw(
	ErrorSeverity nLevel, 
	String^ nMessage
)

Parameters

nLevel
Type: Perforce.P4..::..ErrorSeverity
Severity level
nMessage
Type: System..::..String
Error message

See Also