共用方式為


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

'宣告
<InterfaceTypeAttribute()> _
<GuidAttribute("FC5EF273-DCE3-4DBB-AEE3-F54F91F00286")> _
Public Interface IVsBroadcastMessageEvents
'用途
Dim instance As 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

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

IVsBroadcastMessageEvents Members

Microsoft.VisualStudio.Shell.Interop Namespace