Share via


IMessageFilter Interface

Enables handling of incoming and outgoing COM messages while waiting for responses from synchronous calls. You can use message filtering to prevent waiting on a synchronous call from blocking another application. For more information, see IMessageFilter.

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

Syntax

'Declaration
<InterfaceTypeAttribute()> _
<GuidAttribute("00000016-0000-0000-C000-000000000046")> _
Public Interface IMessageFilter
[InterfaceTypeAttribute()]
[GuidAttribute("00000016-0000-0000-C000-000000000046")]
public interface IMessageFilter
[InterfaceTypeAttribute()]
[GuidAttribute(L"00000016-0000-0000-C000-000000000046")]
public interface class IMessageFilter
[<InterfaceTypeAttribute()>]
[<GuidAttribute("00000016-0000-0000-C000-000000000046")>]
type IMessageFilter =  interface end
public interface IMessageFilter

The IMessageFilter type exposes the following members.

Methods

  Name Description
Public method HandleInComingCall
Public method MessagePending
Public method RetryRejectedCall

Top

See Also

Reference

Microsoft.VisualStudio.OLE.Interop Namespace