KestrunHostManager.SetDefault method
Sets the specified KestrunHost instance as the default.
public static void SetDefault(string name)
parameter | description |
---|---|
name | The name of the KestrunHost instance to set as default. |
Exceptions
exception | condition |
---|---|
InvalidOperationException | Thrown if no instance with the specified name exists. |
See Also
- class KestrunHostManager
- namespace Kestrun