ObjectPoolingAttribute.IsValidTarget(String) Method

Definition

Called internally by the .NET Framework infrastructure while installing and configuring assemblies in the COM+ catalog.

C#
public bool IsValidTarget(string s);

Parameters

s
String

A string generated by the .NET Framework infrastructure that is checked for a special value that indicates a serviced component.

Returns

true if the attribute is applied to a serviced component class.

Remarks

Even though it is a public method, the IsValidTarget method is intended only to be used from within the .NET Framework infrastructure. It is sufficient for a developer to apply the ObjectPoolingAttribute class attribute and set other members in its interface.

Applies to

Product Versions
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1