代码改变世界

补充部分官方文档里没有的Client Library以及代码提示Schema更新(三)

  Jeffrey Zhao  阅读(752)  评论(9编辑  收藏  举报
  配合《深入Atlas系列:Web Sevices Access in Atlas(4) - 特别的访问方式》,补充了对于<serviceMethod />的提示Schema。

点击这里下载,所有的下载链接均已更新。使用方式可以见我前一篇文章《为VS.NET 2005增加Atlas Scripts的代码提示功能》,那里的Schema下载也以更新。

以下是我写的Client Library,希望对大家有所帮助。


ServiceMethodRequest Class

A component designed for invoking Web Services method and retrieving the result.

Syntax

Javascript

new Sys.Net.ServiceMethodRequest();

Declarative

<serviceMethod
    aborted="event handler"
    appUrl="the url of the web application"
    completed="event handler"
    dataContext
="source for data binding operations"
    error="event handler"
    id="identifier for looking up the component by name"
    methodName="the name of the web services method"
    priority="the priority of the request"
    propertyChanged="event handler"
    timeout="event handler"
    timeoutInterval="the time to wait before failing the request"
    url="the url of the web services"
>
    <aborted>
        
<!-- actions -->
    
</aborted>
    
<bindings>
        
<!-- bindings -->
    
</bindings>
    <completed>
        
<!-- actions -->
    
</completed>
    <error>
        
<!-- actions -->
    
</error>
    <parameters prop1="value1" prop2="value2" ... />
    
<propertyChanged>
        
<!-- actions -->
    
</propertyChanged>
    <timeout>
        
<!-- actions -->
    
</timeout>
</serviceMethod>

Script components:  required

Inherits:  Sys.Component


编辑推荐:
· 从 HTTP 原因短语缺失研究 HTTP/2 和 HTTP/3 的设计差异
· AI与.NET技术实操系列:向量存储与相似性搜索在 .NET 中的实现
· 基于Microsoft.Extensions.AI核心库实现RAG应用
· Linux系列:如何用heaptrack跟踪.NET程序的非托管内存泄露
· 开发者必知的日志记录最佳实践
阅读排行:
· TypeScript + Deepseek 打造卜卦网站:技术与玄学的结合
· Manus的开源复刻OpenManus初探
· 写一个简单的SQL生成工具
· AI 智能体引爆开源社区「GitHub 热点速览」
· C#/.NET/.NET Core技术前沿周刊 | 第 29 期(2025年3.1-3.9)
点击右上角即可分享
微信分享提示