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
'Déclaration
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
- failure
Type: Microsoft.TeamFoundation.VersionControl.Client.PolicyFailure
The policy failure that causes this event.
Implements
IPolicyEvaluation.Activate(PolicyFailure)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.