Table of Contents

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 UioHookResult

The 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 UioHookResult

The result of an opetaion which caused this exception.

innerException Exception

The exception which caused this exception.

HookException(UioHookResult, string)

Initializes a new instance of the HookException class.

public HookException(UioHookResult result, string message)

Parameters

result UioHookResult

The result of an opetaion which caused this exception.

message string

The 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 UioHookResult

The result of an opetaion which caused this exception.

message string

The message of the exception.

innerException Exception

The exception which caused this exception.

HookException(string)

Initializes a new instance of the HookException class.

public HookException(string message)

Parameters

message string

The message of the exception.

HookException(string, Exception)

Initializes a new instance of the HookException class.

public HookException(string message, Exception innerException)

Parameters

message string

The message of the exception.

innerException Exception

The 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 SerializationInfo

The serialization info to set.

context StreamingContext

The streaming context.