Bagikan melalui


ICriticalNotifyCompletion.UnsafeOnCompleted(Action) Metode

Definisi

Menjadwalkan tindakan kelanjutan yang dipanggil saat instans selesai.

public:
 void UnsafeOnCompleted(Action ^ continuation);
[System.Security.SecurityCritical]
public void UnsafeOnCompleted (Action continuation);
public void UnsafeOnCompleted (Action continuation);
[<System.Security.SecurityCritical>]
abstract member UnsafeOnCompleted : Action -> unit
abstract member UnsafeOnCompleted : Action -> unit
Public Sub UnsafeOnCompleted (continuation As Action)

Parameter

continuation
Action

Tindakan yang akan dipanggil ketika operasi selesai.

Atribut

Pengecualian

Argumen continuation null (Tidak ada dalam Visual Basic).

Keterangan

Tidak seperti OnCompleted, UnsafeOnCompleted tidak perlu menyebarluaskan informasi ExecutionContext.

Berlaku untuk

Lihat juga