Class HookException
- Namespace
- SharpHook
- Assembly
- SharpHook.dll
Represents an exception related to global hooks.
[ExcludeFromCodeCoverage]
public sealed class HookException : Exception, ISerializable
- Inheritance
-
HookException
- Implements
- Inherited Members
Constructors
HookException()
Initializes a new instance of the HookException class.
public HookException()
HookException(UioHookResult)
Initializes a new instance of the HookException class.
public HookException(UioHookResult result)
Parameters
resultUioHookResultThe result of an opetaion which caused this exception.
HookException(UioHookResult, Exception)
Initializes a new instance of the HookException class.
public HookException(UioHookResult result, Exception innerException)
Parameters
resultUioHookResultThe result of an opetaion which caused this exception.
innerExceptionExceptionThe exception which caused this exception.
HookException(UioHookResult, string)
Initializes a new instance of the HookException class.
public HookException(UioHookResult result, string message)
Parameters
resultUioHookResultThe result of an opetaion which caused this exception.
messagestringThe message of the exception.
HookException(UioHookResult, string, Exception)
Initializes a new instance of the HookException class.
public HookException(UioHookResult result, string message, Exception innerException)
Parameters
resultUioHookResultThe result of an opetaion which caused this exception.
messagestringThe message of the exception.
innerExceptionExceptionThe exception which caused this exception.
HookException(string)
Initializes a new instance of the HookException class.
public HookException(string message)
Parameters
messagestringThe message of the exception.
HookException(string, Exception)
Initializes a new instance of the HookException class.
public HookException(string message, Exception innerException)
Parameters
messagestringThe message of the exception.
innerExceptionExceptionThe exception which caused this exception.
Properties
Result
Gets the result of an opetaion which caused this exception.
public UioHookResult Result { get; }
Property Value
- UioHookResult
The result of an opetaion which caused this exception.