Perforce API for the .Net CLR P4.Net

P4Connection.ExceptionLevel Property

Gets/Sets the Exception level when running Perforce commands.

[Visual Basic]
Public Property ExceptionLevel As P4ExceptionLevels
[C#]
public P4ExceptionLevels ExceptionLevel {get; set;}

Remarks

This property controls when P4.Net will throw exceptions when the underlying Perforce commands raise errors and warnings.

The default is P4ExceptionLevels.NoExceptionOnWarnings

See Also

P4Connection Class | P4API Namespace