Share via


IVsaSite.GetCompiledState 方法

获取脚本引擎的已编译状态和关联的调试信息(可选)。

命名空间:  Microsoft.Vsa
程序集:  Microsoft.Vsa(在 Microsoft.Vsa.dll 中)

语法

声明
<PermissionSetAttribute(SecurityAction.LinkDemand, Name := "FullTrust")> _
Sub GetCompiledState ( _
    <OutAttribute> ByRef pe As Byte(), _
    <OutAttribute> ByRef debugInfo As Byte() _
)
[PermissionSetAttribute(SecurityAction.LinkDemand, Name = "FullTrust")]
void GetCompiledState(
    out byte[] pe,
    out byte[] debugInfo
)
[PermissionSetAttribute(SecurityAction::LinkDemand, Name = L"FullTrust")]
void GetCompiledState(
    [OutAttribute] array<unsigned char>^% pe, 
    [OutAttribute] array<unsigned char>^% debugInfo
)
[<PermissionSetAttribute(SecurityAction.LinkDemand, Name = "FullTrust")>]
abstract GetCompiledState : 
        pe:byte[] byref * 
        debugInfo:byte[] byref -> unit
function GetCompiledState(
    pe : byte[], 
    debugInfo : byte[]
)

参数

  • pe
    类型:array<Byte[]%

    引擎的已编译状态;字节格式的程序集。

  • debugInfo
    类型:array<Byte[]%

    程序集的调试信息;如果此类信息不存在或不可用,则为空引用。

请参阅

参考

IVsaSite 接口

Microsoft.Vsa 命名空间