IVsaSite.OnCompilerError-Methode
Benachrichtigt den Host darüber, wie auf im Skriptmodul aufgetretene Compilerfehler reagiert werden soll.
Namespace: Microsoft.Vsa
Assembly: Microsoft.Vsa (in Microsoft.Vsa.dll)
Syntax
'Declaration
<PermissionSetAttribute(SecurityAction.LinkDemand, Name := "FullTrust")> _
Function OnCompilerError ( _
error As IVsaError _
) As Boolean
[PermissionSetAttribute(SecurityAction.LinkDemand, Name = "FullTrust")]
bool OnCompilerError(
IVsaError error
)
[PermissionSetAttribute(SecurityAction::LinkDemand, Name = L"FullTrust")]
bool OnCompilerError(
IVsaError^ error
)
[<PermissionSetAttribute(SecurityAction.LinkDemand, Name = "FullTrust")>]
abstract OnCompilerError :
error:IVsaError -> bool
function OnCompilerError(
error : IVsaError
) : boolean
Parameter
error
Typ: Microsoft.Vsa.IVsaErrorDas IVsaError-Objekt, das den betreffenden Fehler darstellt.
Rückgabewert
Typ: Boolean
Gibt TRUE zurück, wenn der Compiler angewiesen wird, dem IVsaSite-Objekt weitere Fehler zu berichten.Gibt FALSE zurück, wenn der Compiler angewiesen wird, dem IVsaSite-Objekt keine weiteren Fehler zu melden.