Nota
Capaian ke halaman ini memerlukan kebenaran. Anda boleh cuba mendaftar masuk atau menukar direktori.
Capaian ke halaman ini memerlukan kebenaran. Anda boleh cuba menukar direktori.
The LoadFromXAML sample demonstrates how to dynamically load a XAML workflow without having to run the XamlBuildTask tool. Instead, the sample calls the Load method. The sample is a Windows Presentation Foundation (WPF) client application that loads XAML workflows using the ActivityXamlServices class and executes them. After they have been loaded using the ActivityXamlServices class, a DynamicActivity<TResult> is returned that can be executed.
To use this sample
Using Visual Studio, open the LoadFromXAML.sln solution file.
To build the solution, press CTRL+SHIFT+B.
To run the solution, press CTRL+F5.