Compartilhar via


IAsyncProgressCallback Interface

Definition

Provides a way for asynchronous service and package owners to report progress. The reported progress can be shown to user in an appropiate manner by the shell. The interface is implemented by Visual Studio IDE. For package loads, the instance is passed to package via Initialize method. For services, package can retrieve the instance through IProfferAsyncService.GetServiceProgressCallback method. This interface is used for reporting progress for both package and service loads. For packages guidService argument is not used and will be ignored.

public interface class IAsyncProgressCallback
public interface class IAsyncProgressCallback
__interface IAsyncProgressCallback
public interface IAsyncProgressCallback
[System.Runtime.InteropServices.Guid("C3A2D62E-64BE-4008-924F-7E303E2B0001")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IAsyncProgressCallback
type IAsyncProgressCallback = interface
[<System.Runtime.InteropServices.Guid("C3A2D62E-64BE-4008-924F-7E303E2B0001")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IAsyncProgressCallback = interface
Public Interface IAsyncProgressCallback
Attributes

Remarks

This interface is safe to access from any thread.

Methods

ReportProgress(Guid, String, String, Int32, Int32)

Reports progress.

Applies to