Create a new P4Exception

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

Syntax

C#
public P4Exception(
	string cmd,
	string[] args,
	P4ClientError error
)
Visual Basic
Public Sub New ( _
	cmd As String, _
	args As String(), _
	error As P4ClientError _
)
Visual C++
public:
P4Exception(
	String^ cmd, 
	array<String^>^ args, 
	P4ClientError^ error
)

Parameters

cmd
Type: System..::..String
command which was run
args
Type: array<System..::..String>[]()[][]
arguments passed to the command
error
Type: Perforce.P4..::..P4ClientError
Client error causing the exception

See Also