ErrorManager
Controls how errors raised by taskbar helpers are reported and whether they are thrown.
Definition
Namespace:Telerik.WinControls.Taskbar
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class ErrorManager
Inheritance: objectErrorManager
Constructors
Properties
Gets or replaces the error manager used by taskbar helpers. Reading the property creates a default instance when none is set.
public static ErrorManager Instance { get; set; }
Methods
Reports an invalid argument by creating an ArgumentException.
Reports a null or otherwise invalid required value by creating an ArgumentNullException with the specified message.
Reports a null or otherwise invalid required value by creating an ArgumentNullException for that parameter.
public virtual void ArgumentNullError(string paramName)
The name of the argument whose value is null or invalid.
Reports the supplied exception through the configured error-handling policy.
public virtual void Error(Exception exception)
The exception to report.
Reports a shell failure by creating an ExternalException with the supplied error code.
public virtual void ExternalError(int errorCode)
The error code associated with the shell failure.
Reports an external failure by creating an ExternalException with the specified message and inner exception.
Reports an external failure by creating an ExternalException with the specified message and error code.
Reports a missing file by creating a FileNotFoundException whose message includes the supplied path.
public virtual void FileNotFoundError(string path)
The path that could not be found.
Reports that the required Windows taskbar features are unavailable by creating a PlatformNotSupportedException.
public virtual void NotSupportedWindowsError()
Notifies that an exception is about to be thrown. This method allows to handle each exception separately and/or log them. Note that if ThrowExceptionOnError is set to false this method will not be fired.