Open
Description
If an exception is thrown from the ICommunicationObject.Faulted event handler, execution becomes hung. It works fine on the old .NET Framework WCF.
Steps to Reproduce
- Create a WCF client (I used dotnet-svcutil on a SOAP service)
- Instantiate the client
- Call
client.Opening += (sender, args) => throw new Exception("Triggering Faulted state")
- Execute a method on the client
Expected Result
- An exception is thrown and
client.State
becomesCommunicationState.Faulted
Actual Result
- Execution hangs