共用方式為


PolicyStateChangedEventArgs Constructor

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

.NET Framework Security

See Also

Reference

PolicyStateChangedEventArgs Class

Microsoft.TeamFoundation.VersionControl.Client Namespace