Table of Contents

Class HookDispatchResult

Namespace
Oscova.Agents.Hooks
Assembly
Oscova.Agents.dll

Normalized hook result returned to the caller that requested dispatch.

public sealed class HookDispatchResult

Inheritance

Inherited Members

Properties

Decision

Normalized allow or deny decision.

IsAllowed

True when Oscova.Agents.Hooks.HookDispatchResult.Decision allows execution to continue.

IsTransportFailure

True when the result came from transport or handler execution failure.

Message

Optional human-readable message from the handler or transport layer.

Reason

Optional machine-readable reason for the decision.

Methods

Allow()

Creates an allow result.

Deny(string, string?)

Creates a deny result with optional reason metadata.

TransportFailure(string, string?)

Creates a transport-failure result before failure-mode mapping is applied.