Google Search

Google
 

Wednesday, July 23, 2008

Video: Windows Workflow Foundation: Exceptions

Presenter:Mike Taulty

Workflow Foundation has specific capabilities for handling exceptions in your code, let's take a look at how it's done.

The following text is a software generated transcript of the video. Click on a minute link to jump to a location within the video


Minute 0

Had welcomed this and a session and it was a short session is also looking thingswithvisualstudio net framework by Whitehall to my work on the developer and platform group but often the UK and business while the series of sessions of the Windows workflow foundation at workflow technology that ships as part of ex we choose a number of managed technology shipping at the time of winners with their Windows XP service Pack 2 70 003 and Windows Fischler s session will take a quick look at how we deal with exceptions in the Windows workflow environment and I m working with a 50 005 and running on Windows the sternest of February technology preview of Mr was working on the February technology preview of Windows workflow foundation

Minute 1

But they soon and visual studio 2005 workflow project in the family project and will pick see sharp and workflow alerted over the sequential workflow console application was implying an temporary folder analytical at exceptional but then so was their debuts code must use the code activities leading up to workflow here versus a look at the properties of this Robertson go behind here and all that in this code is slow and no exception that our application exception failed s exception from what happens if we run there so this point so what everyone is current and I will

Minute 2

Over the phone exception up anything that handles are exceptions so we get a handle exception which will go all the way to the workflow the weather will be torn down and consider a look in his boilerplate code is generated for by the project and play because we all have a go at an event handler terminations of readers were put to a burglar on and run with and our exception gets thrown have had little been terminated to 11 jobhunting exception you get what you would expect which is the littlest on their so handle exception is that the designer design as a separate overhear the exception to insulin a

Minute 3

Works are exceptions that are s easy flag down a full handler s individual rectangle here till the end of the toolbox and handler who dragged into very there is wanted on a stronger property to this false handler is that it were a lot of falters this is handling what I ve done exceptions is handling ignores electoral list of all the young exception touching on the system and I now try to find application exception there is a press call them to look over to it and there catches an application exception hadn t catch it while it does it by essentially executed in one of the citing uncle is a moral code into this particular handler to say what to do when we get this exception let s will look at the properties of tourists

Minute 4

Sorensen the show just so well when of his exceptional abuse is rife there took a I handled it and would have a very un consul register that keep things alive and little while to evasively long rerun as road went in there to one rerun essential and slow exception and got into a handler which catches application exceptions by Alloa are executing exception handler was little in their move to completion because we handle the exception register in net redundancy to global exception handling and also the local exception handling to figure back my workflow that it and designing

Minute 5

Then s the design surface little throw in something like a composite activity like a sequence tonality into things along to do there collided with this particular run it ago inside their got a lively composite activities look at fault handlers so in default here and consuming at the same shape and this is now on offer the work or this is just that this particular sequence with regard filed under in their again into the properties are not as to what to do so will become a particular fault I again will use the application exception version it is thought to do only one of his particular kind of faults or drugs and code in here and answer piece of code with and say something I can try

Minute 6

Are a local handler to know this goes through the road when the little known opened on this one will find only rollercoaster local handle the cash the exception and the global Anglican life the whole workflow will be invoked to s indoor neck overdone local handlers and global handlers and you can decide what you exception catching policies should be local handler who continue to run the works were terminated because it s finished now if you wanted to patches in the details of the exception into the exception of it was slow a super hardliner on this particular fold hardly got if you look at properties only isfor fault discloses we will available in a classy figure look at the Cofer class with the property into a class appeal talk

Minute 7

Type application exception are allowed to am I exception call property my exception with your a designer we can look back to the fault since properties and on the following plot and are looking or specify that we want to use my exception has been available of store that particular exception for us them back in code women in the hand and here with a night out from here perhaps something like I have my exception message roadshow is the exception is thrown to vote again but both are done onto this local handler and run with hits that local handler and by the time we get there exception double and available on the class will have been populated with the exception of the summer so we can see the

Minute 8

Hear my exception that message is there is and the Chelsea catches it Parramatta Message on their own it without the real exceptional strategy saying to remember there was not problem that that ll know s out as part of your regular workflow well essential instead of what we wouldn t before to go back to a sequence here physical activity we could remove a glucagon driving in a throw activity subversive contract was that this will exception from here the properties he is once again it wants a particular fault and to throw yourself after providing with their available to throw over the class again it is hard than a year up until exceptional near that is having a property

Minute 9

Again will have application exception letter exception to throw was certain to throw little lists are I must get method numeral digital was returning your application exception and will say it was just like this only little orare also sorry we failed so we won t don t necessarily need to do anything with us that he will just read this letter and literary software and moves are in America was well so they were missing the race do not listen and if we go back to design now we can say that this particular activities rose exception to throw yourself at that there s deal with to catch you out if we run were not changed anything in terms of behaviour and we ve done it in seven patriarchal activity replaced

Minute 10

Productivity which there was a exception for us to more than a analysis and an imperative at that point because we were back in a local handler in the exception of organ and the Welsh window is the exception we expect in such low show session into a planning exception in Ireland workflow level was seen that we can do that on the workflow we can handle them at the composite activity levels were so quickly that the sequence he can figure out for the shape in order to pick up the details you can t catch the tide of exception by setting the file type all you can go ahead and specify available into which the exceptions replaced and anything is that later on somewhere else in the workflow was announcing a code

Minute 11

Is the likely got lots more information on the windows were of the foundation of a Christian developer Centre up embassy in the Microsoft com when effects are partly due to information on all the effects presentation communication and workflow or is it you dedicated site at www Windowsworkflow net is purely about the windows with the foundation is lots of examples and examples of their and finally if you ve got specific questions on this session feel free to mail me my e mail address is there on the screen and their provide feedback and so on other than that he listening a lot to catch

Click here to go to original video page

No comments: