This documentation is archived and is not being maintained.

PolicyFailure Constructor (String, IPolicyEvaluation)

Initializes a new PolicyFailure instance.

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

public:
PolicyFailure(
	String^ message, 
	IPolicyEvaluation^ policy
)

Parameters

message
Type: System::String

The message that will be displayed for the failure.

policy
Type: Microsoft.TeamFoundation.VersionControl.Client::IPolicyEvaluation

The policy that generated this failure.

Show: