共用方式為


XamlDataDrivenToolTask.AcceptableNonZeroExitCodes Property

Gets or sets an array of non-zero codes which don't cause an error.

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

Namespace:  Microsoft.Build.Tasks.Xaml
Assembly:  Microsoft.Build.Tasks.Core (in Microsoft.Build.Tasks.Core.dll)

Syntax

'Declaration
Public Overridable Property AcceptableNonZeroExitCodes As String()
public virtual string[] AcceptableNonZeroExitCodes { get; set; }
public:
virtual property array<String^>^ AcceptableNonZeroExitCodes {
    array<String^>^ get ();
    void set (array<String^>^ value);
}
abstract AcceptableNonZeroExitCodes : string[] with get, set 
override AcceptableNonZeroExitCodes : string[] with get, set
function get AcceptableNonZeroExitCodes () : String[]
function set AcceptableNonZeroExitCodes (value : String[])

Property Value

Type: array<System.String[]
An array of non-zero codes

.NET Framework Security

See Also

Reference

XamlDataDrivenToolTask Class

Microsoft.Build.Tasks.Xaml Namespace