Επεξεργασία

Κοινή χρήση μέσω


ObjectPoolingAttribute.IsValidTarget(String) Method

Definition

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

public:
 virtual bool IsValidTarget(System::String ^ s);
public bool IsValidTarget (string s);
abstract member IsValidTarget : string -> bool
override this.IsValidTarget : string -> bool
Public Function IsValidTarget (s As String) As Boolean

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