MonitorRequired Property

Vista Bridge Library

[This is preliminary documentation and is subject to change.]

Gets or sets a value that indicates whether the monitor is set to remain active.

Namespace:  Microsoft.SDK.Samples.VistaBridge.Library.PowerManagement
Assembly:  VistaBridgeLibrary (in VistaBridgeLibrary.dll) Version: 1.4.0.0 (1.4.0.0)

Syntax

C#
public static bool MonitorRequired { get; set; }
Visual Basic (Declaration)
Public Shared Property MonitorRequired As Boolean
Visual C++
public:
static property bool MonitorRequired {
	bool get ();
	void set (bool value);
}

Field Value

A Boolean value. True if the monitor is required to remain on.

Remarks

This information is typically used by applications that display information but do not require user interaction. For example, video playback applications.

Permissions

PermissionDescription
System.Security.Permissions..::.SecurityPermission to set this property. Demand value: Demand; Named Permission Sets: FullTrust.

Exceptions

ExceptionCondition
System..::.PlatformNotSupportedExceptionRequires XP/Windows Server 2003 or higher.
System.Security..::.SecurityExceptionThe caller does not have sufficient privileges to set this property.

See Also