Compartir a través de


SystemUpdateManager.BlockAutomaticRebootAsync(String) Método

Definición

Bloquee los reinicios automáticos de la actualización hasta que se llame a UnblockAutomaticRebootAsync o hasta que la directiva del sistema aplique el reinicio.

public:
 static IAsyncOperation<bool> ^ BlockAutomaticRebootAsync(Platform::String ^ lockId);
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<bool> BlockAutomaticRebootAsync(winrt::hstring const& lockId);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<bool> BlockAutomaticRebootAsync(string lockId);
function blockAutomaticRebootAsync(lockId)
Public Shared Function BlockAutomaticRebootAsync (lockId As String) As IAsyncOperation(Of Boolean)

Parámetros

lockId
String

Platform::String

winrt::hstring

Identificador que consta de A-Z, a-z,0-9. Use Guid.NewGuid.ToString() para generar un nuevo identificador aleatorio.

Devoluciones

Atributos

Se aplica a