Log an Exception

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

Syntax

C#
public static void LogException(
	string category,
	Exception ex
)
Visual Basic
Public Shared Sub LogException ( _
	category As String, _
	ex As Exception _
)
Visual C++
public:
static void LogException(
	String^ category, 
	Exception^ ex
)

Parameters

category
Type: System..::..String
Category of the exception
ex
Type: System..::..Exception
The Exception to log

See Also