Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Initializes a new PolicyFailure instance.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'Declaration
Public Sub New ( _
message As String, _
policy As IPolicyEvaluation _
)
public PolicyFailure(
string message,
IPolicyEvaluation policy
)
public:
PolicyFailure(
String^ message,
IPolicyEvaluation^ policy
)
new :
message:string *
policy:IPolicyEvaluation -> PolicyFailure
public function PolicyFailure(
message : String,
policy : IPolicyEvaluation
)
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.
.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.