ServerProtocol Class

Definition

.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
Inheritance
ServerProtocol
Derived

Constructors

ServerProtocol()

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

Properties

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.

Methods

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.

(Inherited from 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.

(Inherited from Object)
GetType()

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

(Inherited from Object)
MemberwiseClone()

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

(Inherited from Object)
ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(Inherited from Object)

Applies to