Class BowireTargetRefusedException
- Namespace
- Kuestenlogik.Bowire.Net
- Assembly
- Kuestenlogik.Bowire.dll
An outgoing request was refused because its target is outside the host's allowed targets (BowireTargetPolicy). Derives from HttpRequestException so callers that already treat transport failures as "the call did not go through" handle it without a new branch.
public sealed class BowireTargetRefusedException : HttpRequestException, ISerializable
- Inheritance
-
BowireTargetRefusedException
- Implements
- Inherited Members
Constructors
BowireTargetRefusedException()
Creates the exception without naming a target.
public BowireTargetRefusedException()
BowireTargetRefusedException(string?)
Creates the exception for the refused target.
public BowireTargetRefusedException(string? target)
Parameters
targetstring
BowireTargetRefusedException(string, Exception)
Creates the exception with a message and the exception that caused it.
public BowireTargetRefusedException(string message, Exception innerException)
Parameters
Properties
Target
The URL that was refused, when known.
public string? Target { get; }