Share via


SystemUpdateManager.BlockAutomaticRebootAsync(String) 메서드

정의

UnblockAutomaticRebootAsync가 호출되거나 시스템 정책에 의해 다시 부팅이 적용될 때까지 업데이트에 대한 자동 다시 부팅을 차단합니다.

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)

매개 변수

lockId
String

Platform::String

winrt::hstring

A-Z, a-z,0-9로 구성된 식별자입니다. Guid.NewGuid.ToString()을 사용하여 새 임의 ID를 생성합니다.

반환

특성

적용 대상