IChannelReceiverHook.WantsToListen 属性

定义

获取一个布尔值,该值指示是否需要将 IChannelReceiverHook 挂接到外部侦听器服务。Gets a Boolean value that indicates whether IChannelReceiverHook needs to be hooked into the outside listener service.

public:
 property bool WantsToListen { bool get(); };
public bool WantsToListen { get; }
[get: System.Security.SecurityCritical]
public bool WantsToListen { get; }
member this.WantsToListen : bool
[<get: System.Security.SecurityCritical>]
member this.WantsToListen : bool
Public ReadOnly Property WantsToListen As Boolean

属性值

Boolean

一个布尔值,该值指示是否需要将 IChannelReceiverHook 挂接到外部侦听器服务。A Boolean value that indicates whether IChannelReceiverHook needs to be hooked into the outside listener service.

属性

例外

直接调用方没有基础结构权限。The immediate caller does not have infrastructure permission.

适用于