AsyncCompletedEventArgs Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the AsyncCompletedEventArgs class.
Overloads
AsyncCompletedEventArgs() |
Obsolete.
Initializes a new instance of the AsyncCompletedEventArgs class. |
AsyncCompletedEventArgs(Exception, Boolean, Object) |
Initializes a new instance of the AsyncCompletedEventArgs class. |
AsyncCompletedEventArgs()
Caution
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Initializes a new instance of the AsyncCompletedEventArgs class.
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 ()
- Attributes
Applies to
AsyncCompletedEventArgs(Exception, Boolean, Object)
- Source:
- AsyncCompletedEvent.cs
- Source:
- AsyncCompletedEvent.cs
- Source:
- AsyncCompletedEvent.cs
Initializes a new instance of the AsyncCompletedEventArgs class.
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)
Parameters
- error
- Exception
Any error that occurred during the asynchronous operation.
- cancelled
- Boolean
A value indicating whether the asynchronous operation was canceled.
- userState
- Object
The optional user-supplied state object passed to the RunWorkerAsync(Object) method.
Applies to
Pripomienky
https://aka.ms/ContentUserFeedback.
Pripravujeme: V priebehu roka 2024 postupne zrušíme službu Problémy v službe GitHub ako mechanizmus pripomienok týkajúcich sa obsahu a nahradíme ju novým systémom pripomienok. Ďalšie informácie nájdete na stránke:Odoslať a zobraziť pripomienky pre