你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

CrossDomainController 类

定义

此控制器返回支持旧版浏览器跨域通信的文件。

[System.Web.Http.Description.ApiExplorerSettings(IgnoreApi=true)]
public class CrossDomainController : System.Web.Http.ApiController
[<System.Web.Http.Description.ApiExplorerSettings(IgnoreApi=true)>]
type CrossDomainController = class
    inherit ApiController
Public Class CrossDomainController
Inherits ApiController
继承
CrossDomainController
属性
System.Web.Http.Description.ApiExplorerSettingsAttribute

构造函数

CrossDomainController()

此控制器返回支持旧版浏览器跨域通信的文件。

方法

Bridge(String)

托管在 中的 iframe页面将接受来自已批准来源的 postMessage 消息,并将其作为同域 ajax 请求转发到运行时。 这是 IE8-9 中传输MobileServices.Web.js所必需的IframeBridge

Initialize(HttpControllerContext)

此控制器返回支持旧版浏览器跨域通信的文件。

LoginReceiver(String)

此控制器返回支持旧版浏览器跨域通信的文件。

适用于