Freigeben über


IVsGeneratorProgress Interface

Definition

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

public interface class IVsGeneratorProgress
public interface class IVsGeneratorProgress
__interface IVsGeneratorProgress
[System.Runtime.InteropServices.Guid("BED89B98-6EC9-43CB-B0A8-41D6E2D6669D")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsGeneratorProgress
[System.Runtime.InteropServices.Guid("BED89B98-6EC9-43CB-B0A8-41D6E2D6669D")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsGeneratorProgress
[<System.Runtime.InteropServices.Guid("BED89B98-6EC9-43CB-B0A8-41D6E2D6669D")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsGeneratorProgress = interface
[<System.Runtime.InteropServices.Guid("BED89B98-6EC9-43CB-B0A8-41D6E2D6669D")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsGeneratorProgress = interface
Public Interface IVsGeneratorProgress
Attributes

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.

Methods

GeneratorError(Int32, UInt32, String, UInt32, UInt32)

Returns warning and error information to the project system.

Progress(UInt32, UInt32)

Sets an index that specifies how much of the generation has been completed.

Applies to