Delegate used to send errors as they are generated.

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

Syntax

C#
public delegate void ErrorDelegate(
	uint cmdId,
	int severity,
	int errorNumber,
	string data
)
Visual Basic
Public Delegate Sub ErrorDelegate ( _
	cmdId As UInteger, _
	severity As Integer, _
	errorNumber As Integer, _
	data As String _
)
Visual C++
public delegate void ErrorDelegate(
	unsigned int cmdId, 
	int severity, 
	int errorNumber, 
	String^ data
)

Parameters

cmdId
Type: System..::..UInt32
Command Id of the command causing the error
severity
Type: System..::..Int32
Severity of the error
errorNumber
Type: System..::..Int32
Error number for the error
data
Type: System..::..String
Error message

Remarks

This delegate will send a block of data for each call received by the callback from the bridge dll.

See Also