HttpRecordingMissBehavior Enum

Specifies what happens when no recorded response matches an incoming request.

public enum HttpRecordingMissBehavior

Fields

NameValueDescription
Throw0Throw an HttpRecordingMissException.
ReturnDefault1Return a default HTTP 500 response with a diagnostic body.
Passthrough2Forward 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.