Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 1.02 KB

appurihandlerregistrationmanager.md

File metadata and controls

28 lines (21 loc) · 1.02 KB
-api-id -api-type ms.custom
T:Windows.System.AppUriHandlerRegistrationManager
winrt class
RS5

Windows.System.AppUriHandlerRegistrationManager

-description

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

-remarks

In order to create this object to manage host registrations in addition to those declared in the AppxManifest, a windows.AppUriHandler contract registration must exist in the manifest with a name field provided.

-see-also

AppUriHandler

-examples

    // Get the default AppUriHandlerRegistrationManager and query it for our registration.
    AppUriHandlerRegistrationManager manager = AppUriHandlerRegistrationManager.GetDefault();
    AppUriHandlerRegistration registration =  manager.TryGetRegistration("MyRuntimeRegistrationName");