ISAPIRuntime 类
定义
管理 .NET Framework 中的 HttpWorkerRequest 对象。Manages HttpWorkerRequest objects in the .NET Framework. 此类不能被继承。This class cannot be inherited.
此 API 支持产品基础结构,不能在代码中直接使用。
public ref class ISAPIRuntime sealed : System::Web::Hosting::IISAPIRuntime
public ref class ISAPIRuntime sealed : MarshalByRefObject, System::Web::Hosting::IISAPIRuntime, System::Web::Hosting::IRegisteredObject
public sealed class ISAPIRuntime : System.Web.Hosting.IISAPIRuntime
public sealed class ISAPIRuntime : MarshalByRefObject, System.Web.Hosting.IISAPIRuntime, System.Web.Hosting.IRegisteredObject
type ISAPIRuntime = class
interface IISAPIRuntime
type ISAPIRuntime = class
inherit MarshalByRefObject
interface IISAPIRuntime
interface IRegisteredObject
Public NotInheritable Class ISAPIRuntime
Implements IISAPIRuntime
Public NotInheritable Class ISAPIRuntime
Inherits MarshalByRefObject
Implements IISAPIRuntime, IRegisteredObject
- 继承
-
ISAPIRuntime
- 继承
- 实现
构造函数
| ISAPIRuntime() |
此 API 支持产品基础结构,不能在代码中直接使用。 初始化 ISAPIRuntime 类的新实例。Initializes a new instance of the ISAPIRuntime class. |
方法
| CreateObjRef(Type) |
创建一个对象,该对象包含生成用于与远程对象进行通信的代理所需的全部相关信息。Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (继承自 MarshalByRefObject) |
| DoGCCollect() |
此 API 支持产品基础结构,不能在代码中直接使用。 强制进行垃圾回收。Forces garbage collection. |
| Equals(Object) |
确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object. (继承自 Object) |
| GetHashCode() |
作为默认哈希函数。Serves as the default hash function. (继承自 Object) |
| GetLifetimeService() |
已过时。
检索控制此实例的生存期策略的当前生存期服务对象。Retrieves the current lifetime service object that controls the lifetime policy for this instance. (继承自 MarshalByRefObject) |
| GetType() |
获取当前实例的 Type。Gets the Type of the current instance. (继承自 Object) |
| InitializeLifetimeService() |
此 API 支持产品基础结构,不能在代码中直接使用。 通过阻止创建租约给予 ISAPIRuntime 对象无限的生存期。Gives the ISAPIRuntime object an infinite lifetime by preventing a lease from being created. |
| MemberwiseClone() |
创建当前 Object 的浅表副本。Creates a shallow copy of the current Object. (继承自 Object) |
| MemberwiseClone(Boolean) |
创建当前 MarshalByRefObject 对象的浅表副本。Creates a shallow copy of the current MarshalByRefObject object. (继承自 MarshalByRefObject) |
| ProcessRequest(IntPtr, Int32) |
此 API 支持产品基础结构,不能在代码中直接使用。 创建新的 HttpWorkerRequest 对象来处理当前的请求。Creates a new HttpWorkerRequest object to process the current request. |
| StartProcessing() |
此 API 支持产品基础结构,不能在代码中直接使用。 开始处理辅助进程管线中的所有项。Starts processing all items in the worker process pipeline. |
| StopProcessing() |
此 API 支持产品基础结构,不能在代码中直接使用。 停止处理辅助进程管线中的项。Stops processing the items in the worker process pipeline. |
| ToString() |
返回表示当前对象的字符串。Returns a string that represents the current object. (继承自 Object) |
显式接口实现
| IRegisteredObject.Stop(Boolean) |
此 API 支持产品基础结构,不能在代码中直接使用。 请求注销一个已注册对象。Requests a registered object to unregister. |