博客
关于我
如何:实现Windows Communication Foundation协定操作
阅读量:542 次
发布时间:2019-03-08

本文共 572 字,大约阅读时间需要 1 分钟。

如何在Windows Communication Foundation中实现协定操作

在使用Windows Communication Foundation(WCF)时,您可以通过以下步骤实现协定操作。首先,将“ReceiveActivity”活动从工具箱中拖到工作流设计图面,然后根据需要创建新的WCF协定或导入现有的协定,完成后即可进行操作配置。

在创建或导入WCF协定后,您可以为其添加操作。具体步骤如下:

  • 在设计器中双击“ReceiveActivity”活动,或在“属性”窗口中单击“ServiceOperationInfo”属性旁边的省略号。
  • 选择“添加协定”或“导入”选项。选择“添加协定”时,系统会自动生成新的WCF协定及操作;选择“导入”时,则需搜索包含目标协定的程序集或项目,完成后单击“确定”。
  • 添加或选择需要与“ReceiveActivity”活动关联的操作。您可以根据需要调整操作名称、参数设置以及权限配置等内容。
  • 在完成操作配置后,单击“确定”,“ReceiveActivity”活动将显示当前正在实现的操作名称。
  • 将需要实现该操作的工作流活动放置到“ReceiveActivity”活动中。
  • 通过以上步骤,您可以轻松地在Windows Communication Foundation环境中配置并实现所需的协定操作。

    转载地址:http://vctiz.baihongyu.com/

    你可能感兴趣的文章
    np.arange()和np.linspace()绘制logistic回归图像时得到不同的结果?
    查看>>
    np.power的使用
    查看>>
    NPM 2FA双重认证的设置方法
    查看>>
    npm build报错Cannot find module ‘webpack/lib/rules/BasicEffectRulePlugin‘解决方法
    查看>>
    npm build报错Cannot find module ‘webpack‘解决方法
    查看>>
    npm ERR! ERESOLVE could not resolve报错
    查看>>
    npm ERR! fatal: unable to connect to github.com:
    查看>>
    npm ERR! Unexpected end of JSON input while parsing near '...on":"0.10.3","direc to'
    查看>>
    npm ERR! Unexpected end of JSON input while parsing near ‘...“:“^1.2.0“,“vue-html-‘ npm ERR! A comp
    查看>>
    npm error Missing script: “server“npm errornpm error Did you mean this?npm error npm run serve
    查看>>
    npm error MSB3428: 未能加载 Visual C++ 组件“VCBuild.exe”。要解决此问题,1) 安装
    查看>>
    npm install CERT_HAS_EXPIRED解决方法
    查看>>
    npm install digital envelope routines::unsupported解决方法
    查看>>
    npm install 卡着不动的解决方法
    查看>>
    npm install 报错 EEXIST File exists 的解决方法
    查看>>
    npm install 报错 ERR_SOCKET_TIMEOUT 的解决方法
    查看>>
    npm install 报错 Failed to connect to github.com port 443 的解决方法
    查看>>
    npm install 报错 fatal: unable to connect to github.com 的解决方法
    查看>>
    npm install 报错 no such file or directory 的解决方法
    查看>>
    npm install 权限问题
    查看>>