IVsaSite.OnCompilerError Method
Notifies the host about how to respond to compiler errors encountered by the script engine.
Namespace: Microsoft.Vsa
Assembly: Microsoft.Vsa (in Microsoft.Vsa.dll)
Syntax
'إقرار
<PermissionSetAttribute(SecurityAction.LinkDemand, Name := "FullTrust")> _
Function OnCompilerError ( _
error As IVsaError _
) As Boolean
'الاستخدام
Dim instance As IVsaSite
Dim error As IVsaError
Dim returnValue As Boolean
returnValue = instance.OnCompilerError(error)
[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
Parameters
- error
Type: Microsoft.Vsa.IVsaError
The IVsaError object representing the offending error.
Return Value
Type: System.Boolean
Returns TRUE if the compiler is directed to continue reporting further errors to the IVsaSite object. Returns FALSE if the compiler is directed to stop reporting further errors to the IVsaSite object.