Class HookException
- Namespace
- SharpHook
- Assembly
- SharpHook.dll
Represents an exception related to the global hook.
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
result
UioHookResultThe 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
result
UioHookResultThe result of an opetaion which caused this exception.
innerException
ExceptionThe exception which caused this exception.
HookException(UioHookResult, string)
Initializes a new instance of the HookException class.
public HookException(UioHookResult result, string message)
Parameters
result
UioHookResultThe result of an opetaion which caused this exception.
message
stringThe 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
result
UioHookResultThe result of an opetaion which caused this exception.
message
stringThe message of the exception.
innerException
ExceptionThe exception which caused this exception.
HookException(string)
Initializes a new instance of the HookException class.
public HookException(string message)
Parameters
message
stringThe message of the exception.
HookException(string, Exception)
Initializes a new instance of the HookException class.
public HookException(string message, Exception innerException)
Parameters
message
stringThe message of the exception.
innerException
ExceptionThe 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.
Methods
GetObjectData(SerializationInfo, StreamingContext)
Sets the SerializationInfo with information about this exception.
public override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
info
SerializationInfoThe serialization info to set.
context
StreamingContextThe streaming context.