Bagikan melalui


IVsaSite 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 IVsaSite
[System.Runtime.InteropServices.Guid("E0C0FFE2-7eea-4ee2-b7e4-0080c7eb0b74")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsaSite
[System.Runtime.InteropServices.Guid("E0C0FFE2-7eea-4ee2-b7e4-0080c7eb0b74")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
[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.")]
public interface IVsaSite
[<System.Runtime.InteropServices.Guid("E0C0FFE2-7eea-4ee2-b7e4-0080c7eb0b74")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsaSite = interface
[<System.Runtime.InteropServices.Guid("E0C0FFE2-7eea-4ee2-b7e4-0080c7eb0b74")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
[<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.")>]
type IVsaSite = interface
Public Interface IVsaSite
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.

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(IVsaError)
Kedaluwarsa.

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

Berlaku untuk