共用方式為


PolicyBase.Activate Method

Called if the user double-clicks on a policy failure.

Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)

Syntax

'Declaration
Public Overridable Sub Activate ( _
    failure As PolicyFailure _
)
public virtual void Activate(
    PolicyFailure failure
)
public:
virtual void Activate(
    PolicyFailure^ failure
)
abstract Activate : 
        failure:PolicyFailure -> unit  
override Activate : 
        failure:PolicyFailure -> unit
public function Activate(
    failure : PolicyFailure
)

Parameters

Implements

IPolicyEvaluation.Activate(PolicyFailure)

.NET Framework Security

See Also

Reference

PolicyBase Class

Microsoft.TeamFoundation.VersionControl.Client Namespace