Bagikan melalui


IJSVsaSite Antarmuka

Definisi

Perhatian

Use of this type is not recommended because it is being deprecated in Visual Studio 2005; there will be no replacement for this feature. Please see the ICodeCompiler documentation for additional help.

Memungkinkan komunikasi antara host dan mesin skrip. Antarmuka ini diimplementasikan oleh host.

public interface class IJSVsaSite
[System.Obsolete("Use of this type is not recommended because it is being deprecated in Visual Studio 2005; there will be no replacement for this feature. Please see the ICodeCompiler documentation for additional help.")]
[System.Runtime.InteropServices.ComVisible(true)]
[System.Runtime.InteropServices.Guid("605A62B5-3BA8-49E0-A056-0A6A7A5846A3")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IJSVsaSite
[<System.Obsolete("Use of this type is not recommended because it is being deprecated in Visual Studio 2005; there will be no replacement for this feature. Please see the ICodeCompiler documentation for additional help.")>]
[<System.Runtime.InteropServices.ComVisible(true)>]
[<System.Runtime.InteropServices.Guid("605A62B5-3BA8-49E0-A056-0A6A7A5846A3")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IJSVsaSite = interface
Public Interface IJSVsaSite
Turunan
Atribut

Metode

GetCompiledState(Byte[], Byte[])
Kedaluwarsa.

Mendapatkan status mesin skrip yang dikompilasi, dan, secara opsional, informasi penelusuran kesalahan terkait.

GetEventSourceInstance(String, String)
Kedaluwarsa.

Mendapatkan referensi ke sumber peristiwa yang sebelumnya ditambahkan ke mesin skrip menggunakan metode .AddEventSource(String, String)

GetGlobalInstance(String)
Kedaluwarsa.

Mendapatkan referensi ke item global, seperti objek aplikasi yang disediakan host.

Notify(String, Object)
Kedaluwarsa.

Memberi tahu host tentang peristiwa yang dihasilkan oleh mesin skrip .NET.

OnCompilerError(IJSVsaError)
Kedaluwarsa.

Memberi tahu host tentang cara menanggapi kesalahan pengkompilasi yang ditemui oleh mesin skrip.

Berlaku untuk