共用方式為


IMessageFilter Interface

Definition

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.

public interface class IMessageFilter
public interface class IMessageFilter
__interface IMessageFilter
[System.Runtime.InteropServices.ComConversionLoss]
[System.Runtime.InteropServices.Guid("00000016-0000-0000-C000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IMessageFilter
[System.Runtime.InteropServices.ComConversionLoss]
[System.Runtime.InteropServices.Guid("00000016-0000-0000-C000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IMessageFilter
[<System.Runtime.InteropServices.ComConversionLoss>]
[<System.Runtime.InteropServices.Guid("00000016-0000-0000-C000-000000000046")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IMessageFilter = interface
[<System.Runtime.InteropServices.ComConversionLoss>]
[<System.Runtime.InteropServices.Guid("00000016-0000-0000-C000-000000000046")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IMessageFilter = interface
Public Interface IMessageFilter
Attributes

Methods

HandleInComingCall(UInt32, IntPtr, UInt32, INTERFACEINFO[])
MessagePending(IntPtr, UInt32, UInt32)
RetryRejectedCall(IntPtr, UInt32, UInt32)

Applies to