Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Initializes the event arguments.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'Declaration
Public Sub New ( _
failures As PolicyFailure(), _
policy As IPolicyEvaluation _
)
public PolicyStateChangedEventArgs(
PolicyFailure[] failures,
IPolicyEvaluation policy
)
public:
PolicyStateChangedEventArgs(
array<PolicyFailure^>^ failures,
IPolicyEvaluation^ policy
)
new :
failures:PolicyFailure[] *
policy:IPolicyEvaluation -> PolicyStateChangedEventArgs
public function PolicyStateChangedEventArgs(
failures : PolicyFailure[],
policy : IPolicyEvaluation
)
Parameters
- failures
Type: array<Microsoft.TeamFoundation.VersionControl.Client.PolicyFailure[]
The array of failures that resulted from evaluation of the policy.
- policy
Type: Microsoft.TeamFoundation.VersionControl.Client.IPolicyEvaluation
The policy that was evaluated.
.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.