Constructor FaultInjectionHandler
FaultInjectionHandler()
Initializes a new instance of the FaultInjectionHandler class without an inner handler, which is set with InnerHandler.
Declaration
public FaultInjectionHandler()
FaultInjectionHandler(HttpMessageHandler)
Initializes a new instance of the FaultInjectionHandler class with an inner handler, such as the handler of a test server.
Declaration
public FaultInjectionHandler(HttpMessageHandler innerHandler)
Parameters
| Type | Name | Description |
|---|---|---|
| HttpMessageHandler | innerHandler | The handler that requests are sent to. |