Presentation is loading. Please wait.

Presentation is loading. Please wait.

Fluxo de Execução de Atividades no WF4 – Parte II

Similar presentations


Presentation on theme: "Fluxo de Execução de Atividades no WF4 – Parte II"— Presentation transcript:

1 Fluxo de Execução de Atividades no WF4 – Parte II
<Event Name and Date> 4/1/2017 8:56 PM Módulo 5 Fluxo de Execução de Atividades no WF4 – Parte II Caio Chaves Garcez Especialista em Desenvolvimento Microsoft Brasil © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

2 Agenda Apresentar a hierarquia de classes relacionadas com Atividades
Explicar o conceito de “Expressions as Activities” Demonstrar estes conceitos em duas aplicações exemplo

3 WF 4 CodeActivity AsyncCodeActivity NativeActivity Activity
DynamicActivity CodeActivity<TResult> AsyncCodeActivity<TResult> ActivityWithResult Activity<TResult> NativeActivity<TResult> DynamicActivity<TResult>

4 Expressions As Activities

5 Expressions As Activities
CodeActivity<TResult> AsyncCodeActivity<TResult> ActivityWithResult Activity<TResult> NativeActivity<TResult> DynamicActivity<TResult>

6 Demo ActivityWithResult e NativeActivity
<Event Name and Date> 4/1/2017 8:56 PM Demo ActivityWithResult e NativeActivity © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

7 Principais Métodos da NativeActivity
Abort CacheMetadata Cancel Execute

8 DynamicActivity Foo.dll C# (compiled type) C# (DynamicActivity) Ref
Xaml Build Task C# (compiled type) Foo x = new Foo { argument1 <Activity x:Class=“Foo" > <x:Members> <x:Property Name="argument1“ Type="InArgument(x:String)" /> <x:Property Name="argument2” </x:Members> C# (DynamicActivity) Activity x = ActivityXamlServices.Load(xamlFile); WorkflowInvoker.Invoke(x, new Dictionary … ); Ref Xaml directly

9 Links Classe Activity Classe CodeActivity Classe NativeActivity
Classe CodeActivity Classe NativeActivity Classe ActivityWithResult

10 <Event Name and Date>
4/1/2017 8:56 PM © 2010 Microsoft Corporation. All rights reserved. Microsoft, MSDN, the MSDN logo, and [list other trademarks referenced] are trademarks of the Microsoft group of companies.   The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation.  Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation.  MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED, OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION. © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.


Download ppt "Fluxo de Execução de Atividades no WF4 – Parte II"

Similar presentations


Ads by Google