<p>is it possible to throw a custom error message to a ThrowActivity, in windows workflow foundation?</p>

<p>eg. Imagine i want to throw this exception, in my WF :-</p>

<pre><code>CutomException("This is my custom error message", myNumber, myObect);
</code></pre>

<p>cheers :)</p>

Maybe I do not understand your question well, but you can set the specific exception with the
```
Fault
```
property of
```
ThrowActivity
```
in any place before the activity execution, e.g.:
```
```
throwActivity1.Fault = new CustomException("This is my custom error message", myNumber, myObect);
```
```