AsyncCompletedEventArgs Konstruktor
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
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 .