AppUriHandlerHost Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
An object representation of the Host field in an AppUriHandler registration. These are used in conjunction with AppUriHandlerRegistration.
public ref class AppUriHandlerHost sealed
/// [Windows.Foundation.Metadata.Activatable(Windows.System.IAppUriHandlerHostFactory, 458752, "Windows.Foundation.UniversalApiContract")]
/// [Windows.Foundation.Metadata.Activatable(458752, "Windows.Foundation.UniversalApiContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 458752)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class AppUriHandlerHost final
[Windows.Foundation.Metadata.Activatable(typeof(Windows.System.IAppUriHandlerHostFactory), 458752, "Windows.Foundation.UniversalApiContract")]
[Windows.Foundation.Metadata.Activatable(458752, "Windows.Foundation.UniversalApiContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 458752)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class AppUriHandlerHost
function AppUriHandlerHost(name)
Public NotInheritable Class AppUriHandlerHost
- Inheritance
- Attributes
Windows requirements
Device family |
Windows 10, version 1809 (introduced in 10.0.17763.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v7.0)
|
Remarks
This corresponds to the Host field in an AppUriHandler registration:
<uap3:AppUriHandler uap7:Name ="Runtime"> <uap3:Host Name="www.appurihandler.com" /> </uap3:AppUriHandler>
Constructors
AppUriHandlerHost() |
Default constructor for AppUriHandlerHost. |
AppUriHandlerHost(String) |
Constructor for AppUriHandlerHost which sets the name as well. |
Properties
IsEnabled |
Gets or sets a value specifying if the host is enabled. |
Name |
A website hostname. |
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort: Gedurende 2024 worden GitHub Issues uitgefaseerd als het feedbackmechanisme voor inhoud. Dit wordt vervangen door een nieuw feedbacksysteem. Ga voor meer informatie naar:Feedback verzenden en bekijken voor