Condividi tramite


VsValidationContext.OnDeleteTask Method

Override to implement OnDelete behavior for the supplied validation task list item.

This API is not CLS-compliant. 

Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll)

Syntax

'Declaration
<CLSCompliantAttribute(False)> _
Public Overridable Sub OnDeleteTask ( _
    task As ValidationTask _
)
[CLSCompliantAttribute(false)]
public virtual void OnDeleteTask(
    ValidationTask task
)
[CLSCompliantAttribute(false)]
public:
virtual void OnDeleteTask(
    ValidationTask^ task
)
[<CLSCompliantAttribute(false)>]
abstract OnDeleteTask : 
        task:ValidationTask -> unit 
[<CLSCompliantAttribute(false)>]
override OnDeleteTask : 
        task:ValidationTask -> unit
public function OnDeleteTask(
    task : ValidationTask
)

Parameters

.NET Framework Security

See Also

Reference

VsValidationContext Class

Microsoft.VisualStudio.Modeling.Shell Namespace