AppDomainProtocolHandler 类

定义

提供对应用程序域协议的编程访问支持。Provides support for programmatic access to application domain protocols.

此 API 支持产品基础结构,不能在代码中直接使用。

public ref class AppDomainProtocolHandler abstract : MarshalByRefObject, System::Web::Hosting::IRegisteredObject
public abstract class AppDomainProtocolHandler : MarshalByRefObject, System.Web.Hosting.IRegisteredObject
type AppDomainProtocolHandler = class
    inherit MarshalByRefObject
    interface IRegisteredObject
Public MustInherit Class AppDomainProtocolHandler
Inherits MarshalByRefObject
Implements IRegisteredObject
继承
AppDomainProtocolHandler
实现

注解

有关详细信息,请参见版本和依赖关系For more information, see Versions and Dependencies.

构造函数

AppDomainProtocolHandler()

初始化 AppDomainProtocolHandler 类的新实例。Initializes a new instance of the AppDomainProtocolHandler 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)
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()

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

(继承自 Object)
InitializeLifetimeService()

通过阻止创建租约来给予协议处理程序无限生存期。Gives the protocol handler 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)
StartListenerChannel(IListenerChannelCallback)

启动协议侦听器通道。Starts a protocol listener channel.

Stop(Boolean)

停止一个队列。Stops a queue.

StopListenerChannel(Int32, Boolean)

停止指定的进程协议处理程序。Stops the specified process protocol handler.

StopProtocol(Boolean)

停止一个协议。Stops a protocol.

ToString()

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

(继承自 Object)

适用于