Create and throw an exception if it exceeds the MinThrowLevel
Namespace: Perforce.P4Assembly: p4api.net (in p4api.net.dll) Version: 2017.3.160.836 (2017.3.160.0836)
Syntax
C# |
---|
public static void Throw( string cmd, string[] args, P4ClientError error ) |
Visual Basic |
---|
Public Shared Sub Throw ( _ cmd As String, _ args As String(), _ error As P4ClientError _ ) |
Visual C++ |
---|
public: static void Throw( String^ cmd, array<String^>^ args, P4ClientError^ error ) |
Parameters
- cmd
- Type: System..::..String
command which was run
- args
- Type: array<System..::..String>[]()[][]
arguments to the command
- error
- Type: Perforce.P4..::..P4ClientError
Client error causing the exception