Fix System.Activities.CodeActivity docIds (#378)

pull/383/head
Connie Yau 2017-04-17 14:32:21 -07:00 committed by Rich Lander
parent 832b70c66d
commit 04b09e9ac9
1 changed files with 11 additions and 11 deletions

View File

@ -10,25 +10,25 @@ Minor
NotPlanned
### Change Description
In the .NET Framework 4.6.2 and earlier versions, when the Execute method of a workflow activity
throws an exception with a `null` value for the `P:System.Exception.Message` property, the
System.Activities Workflow runtime throws a `NullReferenceException`, masking the original
In the .NET Framework 4.6.2 and earlier versions, when the Execute method of a workflow activity
throws an exception with a `null` value for the `P:System.Exception.Message` property, the
System.Activities Workflow runtime throws a `NullReferenceException`, masking the original
exception.
In the .NET Framework 4.7, the previously masked exception is thrown.
In the .NET Framework 4.7, the previously masked exception is thrown.
- [ ] Quirked
- [ ] Build-time break
- [ ] Quirked
- [ ] Build-time break
### Recommended Action
If your code relies on handling the `NullReferenceException`, change it to catch the exceptions
If your code relies on handling the `NullReferenceException`, change it to catch the exceptions
that could be thrown from your custom activities.
### Affected APIs
* `M:System.Activities.CodeActivity.Execute`
* `M:System.Activities.AsyncCodeActivity.BeginExecute`
* `M:System.Activities.CodeActivity.Execute(System.Activities.CodeActivityContext)`
* `M:System.Activities.AsyncCodeActivity.BeginExecute(System.Activities.AsyncCodeActivityContext,System.AsyncCallback,System.Object)`
* `M:System.Activities.AsyncCodeActivity`1.BeginExecute(System.Activities.AsyncCodeActivityContext,System.AsyncCallback,System.Object)`
* `M:System.Activities.WorkflowInvoker.Invoke`
### Category
Windows Workflow Foundation (WF)
Windows Workflow Foundation (WF)