PolicyStateChangedEventArgs Constructor
Initializes the event arguments.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'宣告
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.