Bagikan melalui


AsyncCompletedEventArgs Konstruktor

Definisi

Menginisialisasi instans baru kelas AsyncCompletedEventArgs.

Overload

AsyncCompletedEventArgs()
Kedaluwarsa.

Menginisialisasi instans baru kelas AsyncCompletedEventArgs.

AsyncCompletedEventArgs(Exception, Boolean, Object)

Menginisialisasi instans baru kelas AsyncCompletedEventArgs.

AsyncCompletedEventArgs()

Perhatian

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Menginisialisasi instans baru kelas AsyncCompletedEventArgs.

public:
 AsyncCompletedEventArgs();
[System.Obsolete("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.", true)]
public AsyncCompletedEventArgs ();
Public Sub New ()
Atribut

Berlaku untuk

AsyncCompletedEventArgs(Exception, Boolean, Object)

Sumber:
AsyncCompletedEvent.cs
Sumber:
AsyncCompletedEvent.cs
Sumber:
AsyncCompletedEvent.cs

Menginisialisasi instans baru kelas AsyncCompletedEventArgs.

public:
 AsyncCompletedEventArgs(Exception ^ error, bool cancelled, System::Object ^ userState);
public AsyncCompletedEventArgs (Exception error, bool cancelled, object userState);
public AsyncCompletedEventArgs (Exception? error, bool cancelled, object? userState);
new System.ComponentModel.AsyncCompletedEventArgs : Exception * bool * obj -> System.ComponentModel.AsyncCompletedEventArgs
Public Sub New (error As Exception, cancelled As Boolean, userState As Object)

Parameter

error
Exception

Kesalahan apa pun yang terjadi selama operasi asinkron.

cancelled
Boolean

Nilai yang menunjukkan apakah operasi asinkron dibatalkan.

userState
Object

Objek status opsional yang disediakan pengguna diteruskan ke RunWorkerAsync(Object) metode .

Berlaku untuk