ServerProtocol 类

定义

.NET Framework 使用从 ServerProtocol 类派生的类处理 XML Web services 请求。The .NET Framework uses classes that are derived from the ServerProtocol class to process XML Web service requests.

public ref class ServerProtocol abstract
public abstract class ServerProtocol
type ServerProtocol = class
Public MustInherit Class ServerProtocol
继承
ServerProtocol
派生

构造函数

ServerProtocol()

ServerProtocol 的构造函数。The constructor for ServerProtocol.

属性

Context

获取派生类的 HttpContext 对象。Gets the HttpContext object for the derived class.

Request

获取派生类的 HttpRequest 对象。Gets the HttpRequest object for the derived class.

Response

获取派生类的 HttpResponse 对象。Gets the HttpResponse object for the derived class.

Target

获取被调用的服务对象。Gets the service object that is invoked.

方法

AddToCache(Type, Type, Object)

使用从指定的协议类型和服务器类型创建的密钥将 Object 存储在缓存中。Stores a Object in the cache using a key that is created from the specified protocol type and server type.

Equals(Object)

确定指定的对象是否等于当前对象。Determines whether the specified object is equal to the current object.

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

使用从指定的协议类型和服务器类型创建的密钥检索存储在缓存中的 ObjectRetrieves the Object that is stored in the cache using the key that was created from the specified protocol type and server type.

GetHashCode()

用作默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
ToString()

返回一个表示当前对象的 string。Returns a string that represents the current object.

(继承自 Object)

适用于