P4ExceptionThrow Method (String, String, P4ClientError)
|
Create and throw an exception if it exceeds the MinThrowLevel
Namespace:
Perforce.P4
Assembly:
p4api.net (in p4api.net.dll) Version: 2023.2.255.3501
Syntax public static void Throw(
string cmd,
string[] args,
P4ClientError error
)
Public Shared Sub Throw (
cmd As String,
args As String(),
error As P4ClientError
)
public:
static void Throw(
String^ cmd,
array<String^>^ args,
P4ClientError^ error
)
static member Throw :
cmd : string *
args : string[] *
error : P4ClientError -> unit
Parameters
- cmd
- Type: SystemString
command which was run - args
- Type: SystemString
arguments to the command - error
- Type: Perforce.P4P4ClientError
Client error causing the exception
See Also