IMessageCtrl.Cancel(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Cancels an asynchronous call.
public:
void Cancel(int msToCancel);
public void Cancel (int msToCancel);
[System.Security.SecurityCritical]
public void Cancel (int msToCancel);
abstract member Cancel : int -> unit
[<System.Security.SecurityCritical>]
abstract member Cancel : int -> unit
Public Sub Cancel (msToCancel As Integer)
Parameters
- msToCancel
- Int32
The number of milliseconds after which to cancel the message.
- Attributes
Exceptions
The immediate caller makes the call through a reference to the interface and does not have infrastructure permission.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.