SoapServerProtocol 类

定义

.NET Framework 创建 SoapServerProtocol 类的实例来处理 XML Web 服务请求。

public ref class SoapServerProtocol : System::Web::Services::Protocols::ServerProtocol
public class SoapServerProtocol : System.Web.Services.Protocols.ServerProtocol
type SoapServerProtocol = class
    inherit ServerProtocol
Public Class SoapServerProtocol
Inherits ServerProtocol
继承
SoapServerProtocol

注解

可以重写此方法 RouteRequest 以处理未通过标记的 XML Web 服务中的方法显式声明和处理用户的 XML Web 服务 WebMethodAttribute请求。

构造函数

名称 说明
SoapServerProtocol()

创建新的 SoapServerProtocol

属性

名称 说明
Context

HttpContext获取派生类的对象。

(继承自 ServerProtocol)
Request

HttpRequest获取派生类的对象。

(继承自 ServerProtocol)
Response

HttpResponse获取派生类的对象。

(继承自 ServerProtocol)
Target

获取调用的服务对象。

(继承自 ServerProtocol)

方法

名称 说明
AddToCache(Type, Type, Object)

Object使用从指定的协议类型和服务器类型创建的密钥存储在缓存中。

(继承自 ServerProtocol)
Equals(Object)

确定指定的对象是否等于当前对象。

(继承自 Object)
GetFromCache(Type, Type)

Object使用从指定的协议类型和服务器类型创建的密钥检索缓存中存储的密钥。

(继承自 ServerProtocol)
GetHashCode()

用作默认哈希函数。

(继承自 Object)
GetReaderForMessage(SoapServerMessage, Int32)

返回 XmlTextReader 使用指定 SoapServerMessage 大小和缓冲区大小的初始化。

GetType()

获取当前实例的 Type

(继承自 Object)
GetWriterForMessage(SoapServerMessage, Int32)

返回 XmlTextWriter 使用指定 SoapServerMessage 大小和缓冲区大小的初始化。

MemberwiseClone()

创建当前 Object的浅表副本。

(继承自 Object)
ModifyInitializedExtensions(PriorityGroup, SoapExtension[])

将指定的优先级和组属性应用于类型指定数组 SoapExtension中包含的 SOAP 扩展。

RouteRequest(SoapServerMessage)

返回 SoapServerMethod 应向其路由指定的 SoapServerMessage 值。

ToString()

返回一个表示当前对象的字符串。

(继承自 Object)

适用于