HttpRecordingMissBehavior Enum
Specifies what happens when no recorded response matches an incoming request.
public enum HttpRecordingMissBehaviorFields
| Name | Value | Description |
|---|---|---|
Throw | 0 | Throw an HttpRecordingMissException. |
ReturnDefault | 1 | Return a default HTTP 500 response with a diagnostic body. |
Passthrough | 2 | Forward the request to the inner handler (make a real HTTP call). In HttpRecordingMode.Auto the response is also recorded; in HttpRecordingMode.Replay it is not. Requires an inner handler. |