ObjectPoolingAttribute.Apply(Hashtable) 方法

定义

在将 ObjectPoolingAttribute 类属性应用于服务组件时,.NET Framework 基础结构在内部调用。

public:
 virtual bool Apply(System::Collections::Hashtable ^ info);
public bool Apply(System.Collections.Hashtable info);
abstract member Apply : System.Collections.Hashtable -> bool
override this.Apply : System.Collections.Hashtable -> bool
Public Function Apply (info As Hashtable) As Boolean

参数

info
Hashtable

一个哈希表,其中包含由内部键引用的对象池属性应用到的内部对象。

返回

true 如果方法已进行更改,则为否则,为 false.

注解

即使它是公共方法,Apply 方法也仅用于从 .NET Framework 基础结构中使用。 开发人员足以应用 ObjectPoolingAttribute 类属性并在其接口中设置其他成员。

适用于