傳統型應用程式中不支援 Windows 執行階段 API
雖然您可以在 C# 或 C++ 傳統型應用程式中使用大部分的 Windows 執行階段 (WinRT) API (請參閱 Windows UWP 命名空間),但傳統型或有限制的應用程式中有兩個主要的 WinRT API 集合不受支援:
- 具有使用者介面 (UI) 功能相依性的 API,其設計僅供通用 Windows 平台 (UWP) 應用程式使用。
- 需要套件識別資料的 API (請參閱需要套件識別資料的功能)。 此類 API 僅在使用 MSIX 封裝的傳統型應用程式中才支援。
本文提供這兩組 WinRT API 的詳細資料。 如果可用,本文會建議替代 API,以達到與傳統型應用程式中不受支援 API 相同的功能。 大部分替代 API 都可在 WinUI 3 中,或透過 Windows SDK 中提供的 WinRT COM 介面來使用。
注意
使用 .NET 的應用程式可以使用本文所列一些 WinRT COM 介面的類別實作。 這些類別比直接使用 WinRT COM 介面更容易使用。 如需可用類別實作的詳細資訊,請參閱從 .NET 應用程式呼叫 Interop API。 請注意,這些類別需要 .NET 6 SDK 或更新版本。
本文將隨著識別更多因應措施和取代項目而進行更新。 如果您遇到此處未列出的 API 問題,請使用 API 名稱以及使用 API 嘗試達成目標的詳細資料,在 microsoft-ui-xaml 存放庫中建立問題。
具有僅限 UWP UI 功能相依性的 API
某些 WinRT API 專為 UWP 應用程式中的 UI 案例所設計。 由於執行緒模式和其他平台差異,這些 API 在傳統型應用程式中的行為不正確。 傳統型應用程式不支援這些 API 和其他與其具有相依性的 WinRT API。
核心不支援的類別
傳統型應用程式中不支援這些 WinRT 類別:
類別 | 替代 API |
---|---|
ApplicationView | 無 |
CoreApplicationView | 請改用 WinUI 3 所提供的 Window 類別。 |
CoreApplicationViewTitleBar | 使用 WinUI 3 所提供的 Window.ExtendsContentIntoTitleBar 屬性,而不是 ExtendViewIntoTitleBar 屬性。 |
CoreDispatcher | 請改用 WinUI 3 提供的 Microsoft.UI.Xaml.Window.DispatcherQueue 屬性。 請注意,Windows.UI.Xaml.Window.Dispatcher 和 Windows.UI.Xaml.DependencyObject.Dispatcher 屬性會在傳統型應用程式中傳回 null 。 |
CoreWindow | 另請參閱下列實作 IInitializeWithWindow 的類別一節。 使用 WinUI 3 所提供的 InputKeyboardSource.GetKeyStateForCurrentThread 方法,而不是 GetKeyState 方法。 使用 WinUI 3 所提供的 UIElement.ProtectedCursor 屬性,而不是 PointerCursor 屬性。 您必須有 UIElement 的子類別才能存取該屬性。 |
UserActivity | 請改用 IUserActivitySourceHostInterop COM 介面 (在 useractivityinterop.h 中)。 |
針對傳統型應用程式不支援的其他 WinRT API,請參閱本主題中稍後的不支援的成員。
具有 XxxForCurrentView 方法的類別
許多 WinRT 類別都有靜態 GetForCurrentView 或 CreateForCurrentView 方法,例如 UIViewSettings.GetForCurrentView。 這些 XxxForCurrentView 方法與 ApplicationView 類型具有隱含相依性,在傳統型應用程式中不受支援。 因為傳統型應用程式中不支援 ApplicationView,因此不支援任何 XxxForCurrentView 方法。 某些不支援的 XxxForCurrentView 方法不僅會傳回 null
,也會擲回例外狀況。
注意
傳統型應用程式中支援 CoreInputView.GetForCurrentView,即使沒有 CoreWindow 也能使用它。 您可以使用該方法在任何執行緒上擷取 CoreInputView 物件;如果該執行緒具有前景視窗,則該物件將會產生事件。
傳統型應用程式中支援下列類別;但若要擷取傳統型應用程式中的執行個體,您可以使用不同於 GetForCurrentView 或 CreateForCurrentView 方法的機制。 針對下列將 COM 介面列為替代 API 的類別,C# 開發人員也可以取用這些 WinRT COM 介面 (請參閱從 .NET 應用程式呼叫 Interop API)。 該清單可能不完整。
傳統型應用程式中不支援下列類別,因為 API 不提供其 GetForCurrentView 或 CreateForCurrentView 方法的替代方案。 該清單可能不完整。
實作 IInitializeWithWindow 的類別
某些選擇器、快顯視窗、對話方塊和其他 Windows 執行階段 (WinRT) 物件相依於 CoreWindow;通常會顯示 UI。 即使傳統型應用程式不支援 CoreWindow (請參閱上述核心不支援的類別),您仍然可以透過新增少量互通程式碼,在傳統型應用程式中使用許多 WinRT 類別。
如需詳細資訊 (包括受影響的類型清單),以及程式碼範例,請參閱顯示相依於 CoreWindow 的 WinRT UI 物件。
不支援的成員
本節列出 (無法列出完整清單時為描述) 不支援在傳統型應用程式中使用的特定 WinRT 類別成員。 除非另有說明,否則傳統型應用程式中支援這些成員以外的其餘類別。
事件
除了指定的事件,傳統型應用程式中支援下列類別。
類別 | 不支援的事件 |
---|---|
UISettings | ColorValuesChanged |
AccessibilitySettings | HighContrastChanged |
方法
除了指定的方法,傳統型應用程式中支援下列類別。
類別 | 不支援的方法 |
---|---|
DeviceInformationPairing | PairAsync |
使用要求命名模式的方法
傳統型應用程式不支援遵循請求 命名模式的大多數方法 (例如 AppCapability.RequestAccessAsync 和 StoreContext.RequestPurchaseAsync)。 在內部,這些方法會使用 Windows.UI.Popups 類別。 該類別要求執行緒具有 CoreWindow 物件,這在傳統型應用程式中不受支援。
遵循要求命名模式的方法完整清單很長,本文不提供這些方法的完整清單。
需要套件識別資料的功能
下列 WinRT 類別需要套件識別資料 (請參閱需要套件識別資料的功能)。 這些 API 僅支援封裝的傳統型應用程式 (也就是在執行階段具有套件識別資料)。 該清單可能不完整。
- Windows.ApplicationModel.DataTransfer.DataProviderHandler
- Windows.ApplicationModel.DataTransfer.DataRequest
- Windows.ApplicationModel.DataTransfer.DataRequestDeferral
- Windows.ApplicationModel.DataTransfer.DataRequestedEventArgs
- Windows.ApplicationModel.DataTransfer.DataTransferManager
- Windows.ApplicationModel.DataTransfer.SharedStorageAccessManager
- Windows.ApplicationModel.DataTransfer.TargetApplicationChosenEventArgs
- Windows.ApplicationModel.Resources.Core.NamedResource
- Windows.ApplicationModel.Resources.Core.ResourceCandidate
- Windows.ApplicationModel.Resources.Core.ResourceCandidateVectorView
- Windows.ApplicationModel.Resources.Core.ResourceContext
- Windows.ApplicationModel.Resources.Core.ResourceContextLanguagesVectorView
- Windows.ApplicationModel.Resources.Core.ResourceManager
- Windows.ApplicationModel.Resources.Core.ResourceMap
- Windows.ApplicationModel.Resources.Core.ResourceMapIterator
- Windows.ApplicationModel.Resources.Core.ResourceMapMapView
- Windows.ApplicationModel.Resources.Core.ResourceMapMapViewIterator
- Windows.ApplicationModel.Resources.Core.ResourceQualifier
- Windows.ApplicationModel.Resources.Core.ResourceQualifierMapView
- Windows.ApplicationModel.Resources.Core.ResourceQualifierObservableMap
- Windows.ApplicationModel.Resources.Core.ResourceQualifierVectorView
- Windows.ApplicationModel.Resources.ResourceLoader
- Windows.Data.Pdf.PdfDocument
- Windows.Data.Pdf.PdfPage
- Windows.Data.Pdf.PdfPageDimensions
- Windows.Data.Pdf.PdfPageRenderOptions
- Windows.Data.Text.SelectableWordSegmentsTokenizingHandler
- Windows.Data.Text.SemanticTextQuery
- Windows.Data.Text.TextConversionGenerator
- Windows.Data.Text.TextPredictionGenerator
- Windows.Data.Text.TextReverseConversionGenerator
- Windows.Data.Text.WordSegmentsTokenizingHandler
- Windows.Data.Xml.Dom.DtdEntity
- Windows.Data.Xml.Dom.DtdNotation
- Windows.Data.Xml.Dom.XmlAttribute
- Windows.Data.Xml.Dom.XmlCDataSection
- Windows.Data.Xml.Dom.XmlComment
- Windows.Data.Xml.Dom.XmlDocument
- Windows.Data.Xml.Dom.XmlDocumentFragment
- Windows.Data.Xml.Dom.XmlDocumentType
- Windows.Data.Xml.Dom.XmlDomImplementation
- Windows.Data.Xml.Dom.XmlElement
- Windows.Data.Xml.Dom.XmlEntityReference
- Windows.Data.Xml.Dom.XmlLoadSettings
- Windows.Data.Xml.Dom.XmlNamedNodeMap
- Windows.Data.Xml.Dom.XmlNodeList
- Windows.Data.Xml.Dom.XmlProcessingInstruction
- Windows.Data.Xml.Dom.XmlText
- Windows.Data.Xml.Xsl.XsltProcessor
- Windows.Devices.Input.KeyboardCapabilities
- Windows.Devices.Input.MouseCapabilities
- Windows.Devices.Input.MouseDevice
- Windows.Devices.Input.MouseEventArgs
- Windows.Devices.Input.PointerDevice
- Windows.Devices.Input.TouchCapabilities
- Windows.Devices.Lights.Lamp
- Windows.Devices.Lights.LampAvailabilityChangedEventArgs
- Windows.Devices.Perception.Provider.PerceptionStartFaceAuthenticationHandler
- Windows.Devices.Perception.Provider.PerceptionStopFaceAuthenticationHandler
- Windows.Devices.PointOfService.MagneticStripeReader
- Windows.Devices.PointOfService.MagneticStripeReaderAamvaCardDataReceivedEventArgs
- Windows.Devices.PointOfService.MagneticStripeReaderBankCardDataReceivedEventArgs
- Windows.Devices.PointOfService.MagneticStripeReaderCapabilities
- Windows.Devices.PointOfService.MagneticStripeReaderCardTypes
- Windows.Devices.PointOfService.MagneticStripeReaderEncryptionAlgorithms
- Windows.Devices.PointOfService.MagneticStripeReaderErrorOccurredEventArgs
- Windows.Devices.PointOfService.MagneticStripeReaderReport
- Windows.Devices.PointOfService.MagneticStripeReaderStatusUpdatedEventArgs
- Windows.Devices.PointOfService.MagneticStripeReaderTrackData
- Windows.Devices.PointOfService.MagneticStripeReaderVendorSpecificCardDataReceivedEventArgs
- Windows.Devices.Portable.ServiceDevice
- Windows.Devices.Portable.StorageDevice
- Windows.Devices.Printers.Print3DDevice
- Windows.Devices.Printers.PrintSchema
- Windows.Devices.SmartCards.SmartCard
- Windows.Devices.SmartCards.SmartCardConnection
- Windows.Devices.SmartCards.SmartCardReader
- Windows.Foundation.AsyncActionCompletedHandler
- Windows.Foundation.AsyncActionProgressHandler<TProgress>
- Windows.Foundation.AsyncActionWithProgressCompletedHandler<TProgress>
- Windows.Foundation.AsyncOperationCompletedHandler<TProgress>
- Windows.Foundation.Collections.VectorChangedEventHandler<T>
- Windows.Foundation.DeferralCompletedHandler
- Windows.Foundation.Diagnostics.FileLoggingSession
- Windows.Foundation.Diagnostics.LogFileGeneratedEventArgs
- Windows.Foundation.Diagnostics.LoggingActivity
- Windows.Foundation.Diagnostics.LoggingChannel
- Windows.Foundation.Diagnostics.LoggingChannelOptions
- Windows.Foundation.Diagnostics.LoggingFields
- Windows.Foundation.Diagnostics.LoggingOptions
- Windows.Foundation.Diagnostics.LoggingSession
- Windows.Foundation.EventHandler<T>
- Windows.Foundation.MemoryBuffer
- Windows.Globalization.ApplicationLanguages
- Windows.Globalization.JapanesePhoneme
- Windows.Globalization.JapanesePhoneticAnalyzer
- Windows.Globalization.PhoneNumberFormatting.PhoneNumberFormatter
- Windows.Globalization.PhoneNumberFormatting.PhoneNumberInfo
- Windows.Graphics.Imaging.BitmapBuffer
- Windows.Graphics.Imaging.BitmapCodecInformation
- Windows.Graphics.Imaging.BitmapDecoder
- Windows.Graphics.Imaging.BitmapEncoder
- Windows.Graphics.Imaging.BitmapFrame
- Windows.Graphics.Imaging.BitmapProperties
- Windows.Graphics.Imaging.BitmapPropertiesView
- Windows.Graphics.Imaging.BitmapPropertySet
- Windows.Graphics.Imaging.BitmapTransform
- Windows.Graphics.Imaging.BitmapTypedValue
- Windows.Graphics.Imaging.ImageStream
- Windows.Graphics.Imaging.PixelDataProvider
- Windows.Graphics.Imaging.SoftwareBitmap
- Windows.Graphics.Printing3D.Print3DTaskRequestedEventArgs
- Windows.Graphics.Printing3D.Print3DTaskSourceRequestedHandler
- Windows.Graphics.Printing3D.Printing3D3MFPackage
- Windows.Graphics.Printing3D.Printing3DBaseMaterial
- Windows.Graphics.Printing3D.Printing3DBaseMaterialGroup
- Windows.Graphics.Printing3D.Printing3DColorMaterial
- Windows.Graphics.Printing3D.Printing3DColorMaterialGroup
- Windows.Graphics.Printing3D.Printing3DComponent
- Windows.Graphics.Printing3D.Printing3DComponentWithMatrix
- Windows.Graphics.Printing3D.Printing3DCompositeMaterial
- Windows.Graphics.Printing3D.Printing3DCompositeMaterialGroup
- Windows.Graphics.Printing3D.Printing3DFaceReductionOptions
- Windows.Graphics.Printing3D.Printing3DMaterial
- Windows.Graphics.Printing3D.Printing3DMesh
- Windows.Graphics.Printing3D.Printing3DMeshVerificationResult
- Windows.Graphics.Printing3D.Printing3DModel
- Windows.Graphics.Printing3D.Printing3DModelTexture
- Windows.Graphics.Printing3D.Printing3DMultiplePropertyMaterial
- Windows.Graphics.Printing3D.Printing3DMultiplePropertyMaterialGroup
- Windows.Graphics.Printing3D.Printing3DTexture2CoordMaterial
- Windows.Graphics.Printing3D.Printing3DTexture2CoordMaterialGroup
- Windows.Graphics.Printing3D.Printing3DTextureResource
- Windows.Management.Core.ApplicationDataManager
- Windows.Management.Deployment.DeploymentResult
- Windows.Management.Deployment.PackageManager
- Windows.Management.Deployment.PackageUserInformation
- Windows.Management.Deployment.PackageVolume
- Windows.Management.Workplace.MdmPolicy
- Windows.Management.Workplace.WorkplaceSettings
- Windows.Media.AudioBuffer
- Windows.Media.Capture.AdvancedCapturedPhoto
- Windows.Media.Capture.AppCaptureAlternateShortcutKeys
- Windows.Media.Capture.AppCaptureManager
- Windows.Media.Capture.AppCaptureSettings
- Windows.Media.Capture.CapturedFrame
- Windows.Media.Capture.MediaCaptureFailedEventArgs
- Windows.Media.Capture.MediaCaptureFailedEventHandler
- Windows.Media.Capture.MediaCapturePauseResult
- Windows.Media.Capture.MediaCaptureStopResult
- Windows.Media.Capture.OptionalReferencePhotoCapturedEventArgs
- Windows.Media.Capture.RecordLimitationExceededEventHandler
- Windows.Media.ClosedCaptioning.ClosedCaptionProperties
- Windows.Media.Devices.DefaultAudioCaptureDeviceChangedEventArgs
- Windows.Media.Devices.DefaultAudioRenderDeviceChangedEventArgs
- Windows.Media.Devices.MediaDevice
- Windows.Media.DialProtocol.DialApp
- Windows.Media.DialProtocol.DialAppStateDetails
- Windows.Media.DialProtocol.DialDevice
- Windows.Media.FaceAnalysis.DetectedFace
- Windows.Media.FaceAnalysis.FaceDetector
- Windows.Media.FaceAnalysis.FaceTracker
- Windows.Media.MediaExtensionManager
- Windows.Media.MediaProperties.H264ProfileIds
- Windows.Media.MediaProperties.MediaEncodingSubtypes
- Windows.Media.MediaProperties.Mpeg2ProfileIds
- Windows.Media.Ocr.OcrEngine
- Windows.Media.Ocr.OcrLine
- Windows.Media.Ocr.OcrResult
- Windows.Media.Ocr.OcrWord
- Windows.Media.Playback.PlaybackMediaMarker
- Windows.Media.Playback.PlaybackMediaMarkerReachedEventArgs
- Windows.Media.Playback.PlaybackMediaMarkerSequence
- Windows.Media.SpeechRecognition.SpeechContinuousRecognitionCompletedEventArgs
- Windows.Media.SpeechRecognition.SpeechContinuousRecognitionResultGeneratedEventArgs
- Windows.Media.SpeechRecognition.SpeechContinuousRecognitionSession
- Windows.Media.SpeechRecognition.SpeechRecognitionCompilationResult
- Windows.Media.SpeechRecognition.SpeechRecognitionGrammarFileConstraint
- Windows.Media.SpeechRecognition.SpeechRecognitionHypothesis
- Windows.Media.SpeechRecognition.SpeechRecognitionHypothesisGeneratedEventArgs
- Windows.Media.SpeechRecognition.SpeechRecognitionListConstraint
- Windows.Media.SpeechRecognition.SpeechRecognitionQualityDegradingEventArgs
- Windows.Media.SpeechRecognition.SpeechRecognitionResult
- Windows.Media.SpeechRecognition.SpeechRecognitionSemanticInterpretation
- Windows.Media.SpeechRecognition.SpeechRecognitionTopicConstraint
- Windows.Media.SpeechRecognition.SpeechRecognitionVoiceCommandDefinitionConstraint
- Windows.Media.SpeechRecognition.SpeechRecognizer
- Windows.Media.SpeechRecognition.SpeechRecognizerStateChangedEventArgs
- Windows.Media.SpeechRecognition.SpeechRecognizerTimeouts
- Windows.Media.SpeechRecognition.SpeechRecognizerUIOptions
- Windows.Media.SpeechSynthesis.SpeechSynthesisStream
- Windows.Media.SpeechSynthesis.SpeechSynthesizer
- Windows.Media.SpeechSynthesis.VoiceInformation
- Windows.Networking.PushNotifications.PushNotificationChannel
- Windows.Networking.PushNotifications.PushNotificationChannelManager
- Windows.Networking.PushNotifications.PushNotificationReceivedEventArgs
- Windows.Networking.PushNotifications.RawNotification
- Windows.Networking.Sockets.DatagramSocketMessageReceivedEventArgs
- Windows.Networking.Sockets.MessageWebSocketMessageReceivedEventArgs
- Windows.Services.Maps.Guidance.GuidanceAudioNotificationRequestedEventArgs
- Windows.Services.Maps.Guidance.GuidanceLaneInfo
- Windows.Services.Maps.Guidance.GuidanceManeuver
- Windows.Services.Maps.Guidance.GuidanceMapMatchedCoordinate
- Windows.Services.Maps.Guidance.GuidanceNavigator
- Windows.Services.Maps.Guidance.GuidanceReroutedEventArgs
- Windows.Services.Maps.Guidance.GuidanceRoadSegment
- Windows.Services.Maps.Guidance.GuidanceRoadSignpost
- Windows.Services.Maps.Guidance.GuidanceRoute
- Windows.Services.Maps.Guidance.GuidanceTelemetryCollector
- Windows.Services.Maps.Guidance.GuidanceUpdatedEventArgs
- Windows.Services.Maps.LocalSearch.LocalCategories
- Windows.Services.Maps.LocalSearch.LocalLocation
- Windows.Services.Maps.LocalSearch.LocalLocationFinder
- Windows.Services.Maps.LocalSearch.LocalLocationFinderResult
- Windows.Services.Maps.LocalSearch.LocalLocationHoursOfOperationItem
- Windows.Services.Maps.LocalSearch.LocalLocationRatingInfo
- Windows.Services.Maps.MapAddress
- Windows.Services.Maps.MapLocation
- Windows.Services.Maps.MapLocationFinder
- Windows.Services.Maps.MapLocationFinderResult
- Windows.Services.Maps.MapManager
- Windows.Services.Maps.MapRoute
- Windows.Services.Maps.MapRouteDrivingOptions
- Windows.Services.Maps.MapRouteFinder
- Windows.Services.Maps.MapRouteFinderResult
- Windows.Services.Maps.MapRouteLeg
- Windows.Services.Maps.MapRouteManeuver
- Windows.Services.Maps.MapService
- Windows.Services.Store.StoreAcquireLicenseResult
- Windows.Services.Store.StoreAppLicense
- Windows.Services.Store.StoreAvailability
- Windows.Services.Store.StoreCollectionData
- Windows.Services.Store.StoreConsumableResult
- Windows.Services.Store.StoreContext
- Windows.Services.Store.StoreImage
- Windows.Services.Store.StoreLicense
- Windows.Services.Store.StorePackageLicense
- Windows.Services.Store.StorePackageUpdate
- Windows.Services.Store.StorePackageUpdateResult
- Windows.Services.Store.StorePrice
- Windows.Services.Store.StoreProduct
- Windows.Services.Store.StoreProductPagedQueryResult
- Windows.Services.Store.StoreProductQueryResult
- Windows.Services.Store.StoreProductResult
- Windows.Services.Store.StorePurchaseProperties
- Windows.Services.Store.StorePurchaseResult
- Windows.Services.Store.StoreRequestHelper
- Windows.Services.Store.StoreSendRequestResult
- Windows.Services.Store.StoreSku
- Windows.Services.Store.StoreVideo
- Windows.Storage.AccessCache.StorageApplicationPermissions
- Windows.Storage.ApplicationData
- Windows.Storage.ApplicationDataSetVersionHandler
- Windows.Storage.CachedFileManager
- Windows.Storage.DownloadsFolder
- Windows.Storage.FileIO
- Windows.Storage.FileProperties.BasicProperties
- Windows.Storage.FileProperties.DocumentProperties
- Windows.Storage.FileProperties.ImageProperties
- Windows.Storage.FileProperties.MusicProperties
- Windows.Storage.FileProperties.StorageItemContentProperties
- Windows.Storage.FileProperties.StorageItemThumbnail
- Windows.Storage.FileProperties.VideoProperties
- Windows.Storage.KnownFolders
- Windows.Storage.PathIO
- Windows.Storage.StorageFile
- Windows.Storage.StorageFolder
- Windows.Storage.StorageLibrary
- Windows.Storage.StorageProvider
- Windows.Storage.StorageStreamTransaction
- Windows.Storage.StreamedFileDataRequest
- Windows.Storage.StreamedFileDataRequestedHandler
- Windows.Storage.Streams.Buffer
- Windows.Storage.Streams.DataReader
- Windows.Storage.Streams.DataReaderLoadOperation
- Windows.Storage.Streams.DataWriter
- Windows.Storage.Streams.DataWriterStoreOperation
- Windows.Storage.Streams.FileInputStream
- Windows.Storage.Streams.FileOutputStream
- Windows.Storage.Streams.FileRandomAccessStream
- Windows.Storage.Streams.InMemoryRandomAccessStream
- Windows.Storage.Streams.InputStreamOverStream
- Windows.Storage.Streams.OutputStreamOverStream
- Windows.Storage.Streams.RandomAccessStream
- Windows.Storage.Streams.RandomAccessStreamOverStream
- Windows.Storage.Streams.RandomAccessStreamReference
- Windows.Storage.SystemAudioProperties
- Windows.Storage.SystemGPSProperties
- Windows.Storage.SystemImageProperties
- Windows.Storage.SystemMediaProperties
- Windows.Storage.SystemMusicProperties
- Windows.Storage.SystemPhotoProperties
- Windows.Storage.SystemProperties
- Windows.Storage.SystemVideoProperties
- Windows.System.Diagnostics.ProcessCpuUsage
- Windows.System.Diagnostics.ProcessCpuUsageReport
- Windows.System.Diagnostics.ProcessDiagnosticInfo
- Windows.System.Diagnostics.ProcessDiskUsage
- Windows.System.Diagnostics.ProcessDiskUsageReport
- Windows.System.Diagnostics.ProcessMemoryUsage
- Windows.System.Diagnostics.ProcessMemoryUsageReport
- Windows.System.Profile.AnalyticsInfo
- Windows.System.Profile.AnalyticsVersionInfo
- Windows.System.Threading.Core.PreallocatedWorkItem
- Windows.System.Threading.Core.SignalHandler
- Windows.System.Threading.Core.SignalNotifier
- Windows.System.Threading.ThreadPool
- Windows.System.Threading.ThreadPoolTimer
- Windows.System.Threading.TimerDestroyedHandler
- Windows.System.Threading.TimerElapsedHandler
- Windows.System.Threading.WorkItemHandler
- Windows.System.TimeZoneSettings
- Windows.UI.Notifications.BadgeNotification
- Windows.UI.Notifications.BadgeUpdateManager
- Windows.UI.Notifications.BadgeUpdater
- Windows.UI.Notifications.ScheduledTileNotification
- Windows.UI.Notifications.ScheduledToastNotification
- Windows.UI.Notifications.TileNotification
- Windows.UI.Notifications.TileUpdateManager
- Windows.UI.Notifications.TileUpdater
- Windows.UI.Notifications.ToastNotificationHistory
- Windows.UI.StartScreen.JumpList
- Windows.UI.StartScreen.JumpListItem
此外,從沒有套件識別資料的傳統型應用程式呼叫時,AdaptiveMediaSource.CreateFromUriAsync 方法不支援 ms-appx
和 ms-resource
URI 格式。