Udostępnij za pośrednictwem


IVsBroadcastMessageEvents Interface

Broadcasts messages to clients that registered to be notified of events within the environment.

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

Syntax

'Declaration
<InterfaceTypeAttribute()> _
<GuidAttribute("FC5EF273-DCE3-4DBB-AEE3-F54F91F00286")> _
Public Interface IVsBroadcastMessageEvents
[InterfaceTypeAttribute()]
[GuidAttribute("FC5EF273-DCE3-4DBB-AEE3-F54F91F00286")]
public interface IVsBroadcastMessageEvents
[InterfaceTypeAttribute()]
[GuidAttribute(L"FC5EF273-DCE3-4DBB-AEE3-F54F91F00286")]
public interface class IVsBroadcastMessageEvents
[<InterfaceTypeAttribute()>]
[<GuidAttribute("FC5EF273-DCE3-4DBB-AEE3-F54F91F00286")>]
type IVsBroadcastMessageEvents =  interface end
public interface IVsBroadcastMessageEvents

The IVsBroadcastMessageEvents type exposes the following members.

Methods

  Name Description
Public method OnBroadcastMessage Fires when a message is broadcast to the environment window.

Top

Remarks

A client obtains notifications of events within the environment by means of AdviseBroadcastMessages and disconnect by means of UnadviseBroadcastMessages.

See illustrations of the implementation and/or calling of this interface in the sample Solution Extender.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace