ServerProtocol 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
.NET Framework 使用派生自 ServerProtocol 类的类来处理 XML Web 服务请求。
public ref class ServerProtocol abstract
public abstract class ServerProtocol
type ServerProtocol = class
Public MustInherit Class ServerProtocol
- 继承
-
ServerProtocol
- 派生
构造函数
| 名称 | 说明 |
|---|---|
| ServerProtocol() |
的 ServerProtocol构造函数。 |
属性
| 名称 | 说明 |
|---|---|
| Context |
HttpContext获取派生类的对象。 |
| Request |
HttpRequest获取派生类的对象。 |
| Response |
HttpResponse获取派生类的对象。 |
| Target |
获取调用的服务对象。 |
方法
| 名称 | 说明 |
|---|---|
| AddToCache(Type, Type, Object) |
Object使用从指定的协议类型和服务器类型创建的密钥存储在缓存中。 |
| Equals(Object) |
确定指定的对象是否等于当前对象。 (继承自 Object) |
| GetFromCache(Type, Type) |
Object使用从指定的协议类型和服务器类型创建的密钥检索缓存中存储的密钥。 |
| GetHashCode() |
用作默认哈希函数。 (继承自 Object) |
| GetType() |
获取当前实例的 Type。 (继承自 Object) |
| MemberwiseClone() |
创建当前 Object的浅表副本。 (继承自 Object) |
| ToString() |
返回一个表示当前对象的字符串。 (继承自 Object) |