Dela via


Windows.System Namespace

Enables system functionality such as launching apps, obtaining information about a user, and memory profiling.

Classes

AppActivationResult

Gets the result of activating an app via AppDiagnosticInfo.LaunchAsync.

AppDiagnosticInfo

Contains APIs for getting a basic set of diagnostic information for all running apps.

AppDiagnosticInfoWatcher

Allows you to monitor diagnostic information for an app and get notifications when an app is added or removed from the list of running apps.

AppDiagnosticInfoWatcherEventArgs

The data object passed to an AppDiagnosticInfoWatcher event.

AppExecutionStateChangeResult

Provides the result of an attempt to change an app's execution state (such as from running to suspended).

AppMemoryReport

Represents app memory usage at a single point in time.

AppMemoryUsageLimitChangingEventArgs

Provides data for the AppMemoryUsageLimitChanging event.

AppResourceGroupBackgroundTaskReport

Provides snapshot information about a background task such as its name, trigger name, entry point name, and task identifier.

AppResourceGroupInfo

Provides diagnostic information such as memory usage and energy use.

AppResourceGroupInfoWatcher

Allows you to monitor the set of resource groups (AppResourceGroupInfo objects) for an app, and get notifications when a resource group is added or removed.

AppResourceGroupInfoWatcherEventArgs

Provides information about app resource groups.

AppResourceGroupInfoWatcherExecutionStateChangedEventArgs

Provides info about the execution state of this resource group when the state changes.

AppResourceGroupMemoryReport

Provides memory information for a resource group, such as commit usage.

AppResourceGroupStateReport

Provides information, such as the execution state and energy quota usage, for a resource group.

AppUriHandlerHost

An object representation of the Host field in an AppUriHandler registration. These are used in conjunction with AppUriHandlerRegistration.

AppUriHandlerRegistration

Sets and retrieves dynamic AppUriHandlerHost entries for a given AppUriHandler registration.

AppUriHandlerRegistrationManager

Retrieves AppUriHandlerRegistrations for the calling package. This can be used to access AppUriHandler registrations.

DateTimeSettings

Sets the system date and time.

DispatcherQueue

Manages a prioritized queue on which tasks execute in a serial fashion on a thread.

DispatcherQueueController

Manages the lifetime of a DispatcherQueue. Provides methods to create and shutdown the DispatcherQueue.

DispatcherQueueShutdownStartingEventArgs

Provides the arguments for the ShutdownStarting event.

DispatcherQueueTimer

Periodically executes a task on a DispatcherQueue thread after a time interval has elapsed.

FolderLauncherOptions

Specifies the options to use when launching File Explorer to display the contents of a specific folder by calling the LaunchFolderAsync(IStorageFolder, FolderLauncherOptions) method.

In a desktop app, before using an instance of this class in a way that displays UI, you'll need to associate the object with its owner's window handle. For more info, and code examples, see Display WinRT UI objects that depend on CoreWindow.

KnownUserProperties

Contains basic information about a user.

Launcher

Starts the default app associated with the specified file or URI.

LauncherOptions

Specifies the options used to launch the default app for a file or URI.

In a desktop app, before using an instance of this class in a way that displays UI, you'll need to associate the object with its owner's window handle. For more info, and code examples, see Display WinRT UI objects that depend on CoreWindow.

LauncherUIOptions

Specifies options for user interface elements such as the application picker that can be invoked by this API.

LaunchUriResult

Represents the results of a Uri launch.

MemoryManager

Provides access to information on an app's memory usage.

ProcessLauncher

Starts the specified process with associated arguments, if any.

ProcessLauncherOptions

Specifies the options used to launch the specified process.

ProcessLauncherResult

Represents the return of the launched process.

ProcessMemoryReport

Represents process memory usage at a single point in time.

ProtocolForResultsOperation

Represents the result to the application that launched the current application for results.

RemoteLauncher

Starts the default app associated with the specified URI on a remote device.

RemoteLauncherOptions

Specifies the options used to launch the default app for URI on a remote device.

ShutdownManager

Manages the shutdown of devices that run in fixed-purpose mode.

TimeZoneSettings

Contains methods and properties for interacting with time zones.

User

Represents a user.

UserAuthenticationStatusChangeDeferral

Represents a user authentication status change deferral returned by the UserAuthenticationStatusChangingEventArgs.GetDeferral method.

UserAuthenticationStatusChangingEventArgs

Provides data for a user authentication status changing event.

UserChangedEventArgs

Provides data for a user changed event.

UserDeviceAssociation

Contains methods for querying for an association between a user and a device.

UserDeviceAssociationChangedEventArgs

Contains information about a UserDeviceAssociationChanged event.

UserPicker

Contains methods and properties for allowing a user to select a user account in multi-user scenarios.

UserWatcher

Provides events that fire during enumeration of users, when the collection of users changes, or when a user's authentication status changes.

Interfaces

ILauncherViewOptions

Contains methods for launcher view options.

Enums

AppDiagnosticInfoWatcherStatus

Defines the status values that are returned from a call to AppDiagnosticInfoWatcher.Status.

AppMemoryUsageLevel

An enumeration containing 4 levels of app memory usage: low, medium, high, and overlimit.

AppResourceGroupEnergyQuotaState

Describes how the resource group is performing relative to its energy quota.

AppResourceGroupExecutionState

Describes the execution state of the resource group.

AppResourceGroupInfoWatcherStatus

Describes the various states that the AppResourceGroupInfoWatcher may be in.

AutoUpdateTimeZoneStatus

The status of the automatic time zone request.

DiagnosticAccessStatus

Indicates if your app has permission to access to UWP app diagnostic information.

DispatcherQueuePriority

Defines the priority levels that can be given to work assigned to a DispatcherQueue.

LaunchFileStatus

Specifies the result of activating an application for a file.

LaunchQuerySupportStatus

Specifies whether an app is available that supports activation.

LaunchQuerySupportType

Specifies the type of activation to query for.

LaunchUriStatus

Specifies the result of activating an application for a URI.

PowerState

Represents power states for fixed-purpose devices.

ProcessorArchitecture

Specifies the processor architecture supported by an app.

RemoteLaunchUriStatus

Specifies the result of activating an application for a URI on a remote device.

ShutdownKind

Describes the types of shutdown that you can perform for a device that runs in fixed-purpose mode.

UserAgeConsentGroup

Specifies the age consent groups a user can belong to.

UserAgeConsentResult

Specifies the result of a call to CheckUserAgeConsentGroupAsync, querying for a user's membership in a specified UserAgeConsentGroup.

UserAuthenticationStatus

Represents the authentication status of a user.

UserPictureSize

Represents user picture sizes.

UserType

Represents user types.

UserWatcherStatus

Represents the status of a user watcher.

UserWatcherUpdateKind

Describes what kinds of changes were made to a user profile.

VirtualKey

Specifies the values for each virtual key.

VirtualKeyModifiers

Specifies the virtual key used to modify another keypress. For example, the Ctrl key when pressed in conjunction with another key, as in Ctrl+C.

Delegates

DispatcherQueueHandler

A callback that will be executed on the DispatcherQueue thread.

See also