PolicyOverrideInfo Constructor
Initializes a new PolicyOverrideInfo instance.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'Déclaration
Public Sub New ( _
overrideComment As String, _
policyFailures As PolicyFailure() _
)
public PolicyOverrideInfo(
string overrideComment,
PolicyFailure[] policyFailures
)
public:
PolicyOverrideInfo(
String^ overrideComment,
array<PolicyFailure^>^ policyFailures
)
new :
overrideComment:string *
policyFailures:PolicyFailure[] -> PolicyOverrideInfo
public function PolicyOverrideInfo(
overrideComment : String,
policyFailures : PolicyFailure[]
)
Parameters
- overrideComment
Type: System.String
A comment about the override.
- policyFailures
Type: array<Microsoft.TeamFoundation.VersionControl.Client.PolicyFailure[]
The array of failures to override.
.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.