hostBuilderDeclaration element
Generates a declaration for a function that creates a typed host.
Usage
<hostBuilderDeclaration>
child elements
</hostBuilderDeclaration>
Attributes
There are no attributes.
Child elements
Element | Description |
---|---|
interface |
The name of service interface to be included for host. The value of this element must match the value of the interface child element of hostedService. |
Child element sequence
interface+
Parent elements
Element | Description |
---|---|
file |
Outputs a file from the code generator. |
Element information
Label | Value |
---|---|
Minimum supported system |
Windows Vista |
Can be empty | No |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for