HostingEnvironment Constructor
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.
Initializes a new instance of the HostingEnvironment class.
public:
HostingEnvironment();
public HostingEnvironment ();
Public Sub New ()
Exceptions
The HostingEnvironment() constructor is called more than once.
Remarks
The HostingEnvironment constructor initializes the HostingEnvironment object. The HostingEnvironment constructor is called only once by the application's ApplicationManager object. Calling the HostingEnvironment constructor more than once will cause an InvalidOperationException exception to be thrown.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
În curând: Pe parcursul anului 2024, vom elimina treptat Probleme legate de GitHub ca mecanism de feedback pentru conținut și îl vom înlocui cu un nou sistem de feedback. Pentru mai multe informații, consultați:Trimiteți și vizualizați feedback pentru