雖然你可以在 C# 或 C++ 桌面應用程式中使用大多數 Windows 執行階段(WinRT)API(參見 Windows 執行階段(WinRT)命名空間),但有兩組主要的 WinRT API 不支援桌面應用程式,或有限制:
- 這些 API 依賴於僅設計用於 Universal Windows Platform(UWP)應用程式的使用者介面(UI)功能。
- 需要套件識別資料的 API (請參閱需要套件識別資料的功能)。 此類 API 僅在使用 MSIX 封裝的傳統型應用程式中才支援。
本文提供這兩組 WinRT API 的詳細資料。 如果可用,本文會建議替代 API,以達到與傳統型應用程式中不受支援 API 相同的功能。 大多數替代 API 可在 WinUI 3 或 Windows SDK 中的 WinRT COM 介面中取得。
Note
使用 .NET 的應用程式可以利用本文列出的部分 WinRT COM 介面所提供的類別實作。 這些類別比直接使用 WinRT COM 介面更容易使用。 如需可用類別實作的詳細資訊,請參閱從 .NET 應用程式呼叫 Interop API。 請注意,這些類別需要 .NET 6 SDK 或更新版本。
具有僅限 UWP UI 功能相依性的 API
某些 WinRT API 專為 UWP 應用程式中的 UI 案例所設計。 由於執行緒模式和其他平台差異,這些 API 在傳統型應用程式中的行為不正確。 傳統型應用程式不支援這些 API 和其他與其具有相依性的 WinRT API。
核心不支援的類別
這些 WinRT 類別不支援於桌面應用程式:
| Class | 替代 API |
|---|---|
| ApplicationView | None |
| CoreApplicationView | 改用 WinUI 提供的 Window 類別。 |
| CoreApplicationViewTitleBar | 與其使用 ExtendViewIntoTitleBar 屬性,不如使用 WinUI 提供的 Window.ExtendsContentIntoTitleBar 屬性。 |
| CoreDispatcher | 改用 WinUI 提供的 Microsoft.UI.Xaml.Window.DispatcherQueue 屬性。 請注意,Windows.UI.Xaml.Window.Dispatcher 和 Windows.UI.Xaml.DependencyObject.Dispatcher 屬性會在傳統型應用程式中傳回 null。 |
| CoreWindow | 另請參閱下列實作 IInitializeWithWindow 的類別一節。 與其使用 GetKeyState 方法,不如使用 WinUI 提供的 InputKeyboardSource.GetKeyStateForCurrentThread 方法。 與其使用 PointerCursor 屬性,不如使用 WinUI 提供的 UIElement.ProtectedCursor 屬性。 您必須有 UIElement 的子類別才能存取該屬性。 |
| UserActivity | 請改用 IUserActivitySourceHostInterop COM 介面 (在 useractivityinterop.h 中)。 |
針對桌面應用程式不支援的其他 WinRT API,請參閱本主題中的不支援的成員。
具有 XxxForCurrentView 方法的類別
許多 WinRT 類別都有靜態 GetForCurrentView 或 CreateForCurrentView 方法,例如 UIViewSettings.GetForCurrentView。 這些 XxxForCurrentView 方法與 ApplicationView 類型具有隱含相依性,在傳統型應用程式中不受支援。 因為在桌面應用程式中不支援 ApplicationView,因此不支援 XxxForCurrentView 這些方法。 某些不支援的 XxxForCurrentView 方法不僅會傳回 null,也會擲回例外狀況。
Note
在桌面應用程式中,支援 CoreInputView.GetForCurrentView,且即使沒有 CoreWindow 也能使用它。 您可以使用該方法在任何執行緒上擷取 CoreInputView 物件;如果該執行緒具有前景視窗,則該物件將會產生事件。
在桌面應用程式中支援下列類別;但若要在桌面應用程式中獲取其中一個的實例,您需要使用與 GetForCurrentView 或 CreateForCurrentView 方法不同的機制。 針對下列將 COM 介面列為替代 API 的類別,C# 開發人員也可以取用這些 WinRT COM 介面 (請參閱從 .NET 應用程式呼叫 Interop API)。 該清單可能不完整。
傳統型應用程式中不支援下列類別,因為 API 不提供其 GetForCurrentView 或 CreateForCurrentView 方法的替代方案。 該清單可能不完整。
| Class | 替代 API |
|---|---|
| AppCapture | None |
| BrightnessOverride | None |
| ConnectedAnimationService | None |
| CoreInputView | None |
| CoreWindowResizeManager | None |
| DisplayEnhancementOverride | None |
| EdgeGesture | None |
| GazeInputSourcePreview | None |
| HdmiDisplayInformation | None |
| 全息鍵盤位置覆蓋預覽 | None |
| KeyboardDeliveryInterceptor | None |
| LockApplicationHost | None |
| MouseDevice | None |
| 指標視覺化設定 | None |
| ProtectionPolicyManager | None |
| SearchPane | None |
| SettingsPane | None |
| SystemNavigationManager | None |
| SystemNavigationManagerPreview | None |
| WebAuthenticationBroker | 沒有。 更多細節請參閱 WebAuthenticationBroker.AuthenticateAsync 拋出 COMException GitHub 問題。 |
實作 IInitializeWithWindow 的類別
某些選擇器、彈出視窗、對話框及其他Windows 執行階段(WinRT)物件依賴於CoreWindow;通常用於顯示使用者介面。 即使傳統型應用程式不支援 CoreWindow (請參閱上述核心不支援的類別),您仍然可以透過新增少量互通程式碼,在傳統型應用程式中使用許多 WinRT 類別。
如需詳細資訊 (包括受影響的類型清單),以及程式碼範例,請參閱顯示相依於 CoreWindow 的 WinRT UI 物件。
不支援的成員
本節列出 WinRT 類別中的特定成員,這些成員不支援在桌面應用程式中使用。若無法提供完整清單,則以描述形式提供資訊。 除非另有說明,否則桌面應用程式中支援的類別除了這些成員外,還包括其餘類別。
Events
除了指定的事件,傳統型應用程式中支援下列類別。
| Class | 不支援的事件 |
|---|---|
| UISettings | ColorValuesChanged |
| 無障礙設定 | HighContrastChanged |
方法
除了指定的方法,傳統型應用程式中支援下列類別。
| Class | 不支援的方法 |
|---|---|
| DeviceInformationPairing | PairAsync |
使用 Request 命名模式的方法
傳統型應用程式不支援遵循請求 命名模式的大多數方法 (例如 AppCapability.RequestAccessAsync 和 StoreContext.RequestPurchaseAsync)。 在內部,這些方法會使用 Windows.UI.Popups 類別。 該類別要求執行緒具有 CoreWindow 物件,這在傳統型應用程式中不受支援。
遵循要求命名模式的方法完整清單很長,本文不提供這些方法的完整清單。
需要套件識別的 API
下列 WinRT 類別需要套件識別資料 (請參閱需要套件識別資料的功能)。 這些 API 僅支援封裝的傳統型應用程式 (也就是在執行階段具有套件識別資料)。 該清單可能不完整。
Windows。ApplicationModel...
- 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...
- 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。裝置......
- 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.磁條閱讀器功能
- 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。基金會......
- 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。全球化......
- Windows.Globalization.ApplicationLanguages
- Windows.Globalization.JapanesePhoneme
- Windows.Globalization.JapanesePhoneticAnalyzer
- Windows.Globalization.PhoneNumberFormatting.PhoneNumberFormatter
- Windows.Globalization.PhoneNumberFormatting.PhoneNumberInfo
Windows.Graphics
- 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(列印 3D 材料)
- 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。管理層......
- 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
- 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。網路......
- 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。服務。地圖......
Important
Windows 地圖平台 API(Windows。Services.Maps.*)已被棄用,未來版本的 Windows 可能無法使用。 欲了解更多資訊,請參閱 已棄用功能資源。
- Windows.Services.Maps.Guidance.GuidanceAudioNotificationRequestedEventArgs
- Windows.Services.Maps.Guidance.GuidanceLaneInfo
- Windows.服務.地圖.導航.導航操作
- 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 地圖服務駕駛路線選項)
- Windows.Services.Maps.MapRouteFinder
- Windows.Services.Maps.MapRouteFinderResult
- Windows.Services.Maps.MapRouteLeg
- Windows.Services.Maps.MapRouteManeuver
- Windows.Services.Maps.MapService
Windows。Services.Store......
- 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。儲存......
- 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。系統......
- 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...
- 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 格式。