Partager via


IVsGeneratorProgress Interface

Enables the single file generator to report on its progress and to provide additional warning and/or error information.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

'Declaration
<GuidAttribute("BED89B98-6EC9-43CB-B0A8-41D6E2D6669D")> _
<InterfaceTypeAttribute()> _
Public Interface IVsGeneratorProgress
[GuidAttribute("BED89B98-6EC9-43CB-B0A8-41D6E2D6669D")]
[InterfaceTypeAttribute()]
public interface IVsGeneratorProgress
[GuidAttribute(L"BED89B98-6EC9-43CB-B0A8-41D6E2D6669D")]
[InterfaceTypeAttribute()]
public interface class IVsGeneratorProgress
[<GuidAttribute("BED89B98-6EC9-43CB-B0A8-41D6E2D6669D")>]
[<InterfaceTypeAttribute()>]
type IVsGeneratorProgress =  interface end
public interface IVsGeneratorProgress

The IVsGeneratorProgress type exposes the following members.

Methods

  Name Description
Public method GeneratorError Returns warning and error information to the project system.
Public method Progress Sets an index that specifies how much of the generation has been completed.

Top

Remarks

When a custom tool is loaded, or the input for a custom tool is saved, the Visual Basic or Visual C# project system invokes the Generate Method, and passes a reference to IVsGeneratorProgress that enables the single file generator to report its progress to the user.

Notes to Implementers

Notes to Callers

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace