JSHost 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.
Represents the JavaScript host environment where the .NET runtime is currently operating.
public ref class JSHost abstract sealed
[System.Runtime.Versioning.SupportedOSPlatform("browser")]
public static class JSHost
[<System.Runtime.Versioning.SupportedOSPlatform("browser")>]
type JSHost = class
Public Class JSHost
- Inheritance
-
JSHost
- Attributes
Properties
DotnetInstance |
Returns a proxy for the JavaScript module that contains the .NET runtime. |
GlobalThis |
Returns a proxy for the globalThis JavaScript host object. |
Methods
ImportAsync(String, String, CancellationToken) |
Downloads and instantiates an ES6 module from the provided URL, via the JavaScript host's dynamic import API.
If a module with the provided |
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET