共用方式為


ResolveKeySource.AutoClosePasswordPromptTimeout Property

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Gets or sets the amount of time, in seconds, to wait before closing the password prompt dialog.

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
Assembly:  Microsoft.Build.Tasks.Core (in Microsoft.Build.Tasks.Core.dll)

Syntax

'Declaration
Public Property AutoClosePasswordPromptTimeout As Integer
public int AutoClosePasswordPromptTimeout { get; set; }
public:
property int AutoClosePasswordPromptTimeout {
    int get ();
    void set (int value);
}
member AutoClosePasswordPromptTimeout : int with get, set
function get AutoClosePasswordPromptTimeout () : int 
function set AutoClosePasswordPromptTimeout (value : int)

Property Value

Type: System.Int32
The amount of time, in seconds, to wait before closing the password prompt dialog.

Remarks

The default value is 20 seconds.

.NET Framework Security

See Also

Reference

ResolveKeySource Class

Microsoft.Build.Tasks Namespace