如何启动从数据库中提取或从文件中读取的xaml [英] How do I start the xaml, which I extract from the database or read from a file

查看:96
本文介绍了如何启动从数据库中提取或从文件中读取的xaml的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

早上好. 我有一个库aktiviti-命名空间:EMC.ActivityLibrary. 作为服务器-项目ServiceLibrary-这是代码
/2009/xaml/servicemodel"xmlns:ea = " clr-namespace:EMC.ActivityLibrary; assembly = ECM.ActivityLibrary.在这里,我删除了对标准 命名空间的引用. &span>
> sap:VirtualizedContainerService.HintSize ="222,208"> sap:VirtualizedContainerService.HintSize ="222,208"
   
< sap:WorkflowViewStateService.ViewState>
    
< scg3:字典x:TypeArguments ="x:字符串,x:对象"
       
"x:布尔值x:Key =" IsExpanded"真</x:布尔>
    
</scg3:字典> ;
   
</sap:WorkflowViewStateService.ViewState> ;
   
< ea:CreateTask answerToUser ="(x:Null)" AssignToUser =(x:Null)"; classID =(x:空)"; createrUser =(x:空)" parentID =(x:空)"; structureID ="(x:Null)"xmlTask​​ ="(x:Null)" sap:VirtualizedContainerService.HintSize ="200,22". mva:VisualBasic.Settings =序列化为XML名称空间的程序集引用和导入的名称空间"; />
   
< ea:ExecuteTask answer =";(x:Null)"; processID =(x:空)"; taskID =(x:空)"; sap:VirtualizedContainerService.HintSize ="200,22". mva:VisualBasic.Settings ="Assembly 引用和导入的命名空间序列化为XML命名空间"/>
</p:序列>
</WorkflowService>
<跨度ID = result_box"> <跨度标题= Идеятакая,чтоклиенскоеприложениевызываетметодсервисаWCF,аметодсервисапредставляетсобоювызов的XamlизБД(текстофогофайланарабочемстоле).">我们的想法是这样klienskoe应用程序就会调用WCF服务方法,而该服务方法则对数据库中的Xaml(台式机上的tekstofogo文件)构成了挑战.
Aktiviti,在图书馆中都代表Xaml. 告诉我,如何做到! ..................

Good day. I have a library aktiviti - Namespace: EMC.ActivityLibrary. There are all aktiviti, including the one that I kept as xaml and try to run. As the client uses a console application - Namespace: ConsoleApplicationTest. As a server - a project ServiceLibrary - here's the code
<WorkflowService mc: Ignorable = "sap" ConfigurationName = "Service1" Name = "Service1" mva: VisualBasic.Settings = "Assembly references and imported namespaces serialized as XML namespaces" xmlns = "http://schemas.microsoft.com/netfx / 2009/xaml/servicemodel "xmlns: ea =" clr-namespace: EMC.ActivityLibrary; assembly = ECM.ActivityLibrary. here i removed the reference to the standard namespace. sap:VirtualizedContainerService.HintSize="222,208">
    
<sap:WorkflowViewStateService.ViewState>
      
<scg3:Dictionary x:TypeArguments="x:String, x:Object">
        
<x:Boolean x:Key="IsExpanded"> True </ x: Boolean>
      
</ scg3: Dictionary>
    
</ sap: WorkflowViewStateService.ViewState>
    
<ea: CreateTask answerToUser = "(x: Null)" assignToUser = "(x: Null)" classID = "(x: Null)" createrUser = "(x: Null)" parentID = "(x: Null)" structureID = "(x: Null)" xmlTask = "(x: Null)" sap: VirtualizedContainerService.HintSize = "200,22" mva: VisualBasic.Settings = "Assembly references and imported namespaces serialized as XML namespaces" />
    
<ea: ExecuteTask answer = "(x: Null)" processID = "(x: Null)" taskID = "(x: Null)" sap: VirtualizedContainerService.HintSize = "200,22" mva: VisualBasic.Settings = "Assembly references and imported namespaces serialized as XML namespaces "/>
  
</ p: Sequence>
</ WorkflowService>
The idea is such that klienskoe application calls the method of service WCF, and the method of service represents a challenge to Xaml from database (tekstofogo file on your desktop). Aktiviti, which represents Xaml is in the libraries of all aktiviti. Tell me, how pliz..................

推荐答案

您可以看一下这篇文章吗?
也许可以帮助您

http://social.msdn. microsoft.com/Forums/zh-CN/wfprerelease/thread/3a6503c6-1f3a-4857-81be-a980c0ffc4ab


这篇关于如何启动从数据库中提取或从文件中读取的xaml的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆