Редагувати

Поділитися через


IMessageCtrl.Cancel(Int32) Method

Definition

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