Using the WebServiceFault Activity
The WebServiceFault activity is closely related to the WebServiceOutput activity. Both indicate the termination of workflow processing for the particular invocation they happen to be supporting. And, as it turns out, WebServiceFault is used just as WebServiceOutput is used.
WebServiceFault is also tied to a single WebServiceInput activity. Like its cousin the WebServiceOutput activity, WebServiceFault has a single output property you must bind, in this case Fault. Fault is bound to a field or property based on System.Exception that represents the exception to report back to the client. Ultimately, Fault is translated into a SoapException and sent over the wire to the client. But any exception you care to bind ...
Get Microsoft® Windows® Workflow Foundation Step by Step now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.