Create and throw an exception if it exceeds the MinThrowLevel
Namespace: Perforce.P4Assembly: p4api.net (in p4api.net.dll) Version: 2016.1.140.7015 (2016.1.140.7015)
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
- args
- Type: array<System..::..String>[]()[][]
- error
- Type: Perforce.P4..::..P4ClientError
Client error causing the exception