IMessageCtrl::Cancel Method (Int32)
.NET Framework (current version)
Cancels an asynchronous call.
Assembly: mscorlib (in mscorlib.dll)
Parameters
- msToCancel
-
Type:
System::Int32
The number of milliseconds after which to cancel the message.
| Exception | Condition |
|---|---|
| SecurityException | The immediate caller makes the call through a reference to the interface and does not have infrastructure permission. |
SecurityPermission
for operating with infrastructure code. Demand value: SecurityAction::LinkDemand; Permission value: SecurityPermissionFlag::Infrastructure
.NET Framework
Available since 1.1
Available since 1.1
Show: