TaskHelpers.ToApm Method
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.
Overloads
ToApm(Task, AsyncCallback, Object) | |
ToApm<TResult>(Task<TResult>, AsyncCallback, Object) |
ToApm(Task, AsyncCallback, Object)
- Source:
- TaskHelpers.cs
- Source:
- TaskHelpers.cs
- Source:
- TaskHelpers.cs
public:
[System::Runtime::CompilerServices::Extension]
static System::Threading::Tasks::Task ^ ToApm(System::Threading::Tasks::Task ^ task, AsyncCallback ^ callback, System::Object ^ state);
public static System.Threading.Tasks.Task ToApm (this System.Threading.Tasks.Task task, AsyncCallback callback, object state);
static member ToApm : System.Threading.Tasks.Task * AsyncCallback * obj -> System.Threading.Tasks.Task
<Extension()>
Public Function ToApm (task As Task, callback As AsyncCallback, state As Object) As Task
Parameters
- task
- Task
- callback
- AsyncCallback
- state
- Object
Returns
Applies to
ToApm<TResult>(Task<TResult>, AsyncCallback, Object)
- Source:
- TaskHelpers.cs
- Source:
- TaskHelpers.cs
- Source:
- TaskHelpers.cs
public:
generic <typename TResult>
[System::Runtime::CompilerServices::Extension]
static System::Threading::Tasks::Task<TResult> ^ ToApm(System::Threading::Tasks::Task<TResult> ^ task, AsyncCallback ^ callback, System::Object ^ state);
public static System.Threading.Tasks.Task<TResult> ToApm<TResult> (this System.Threading.Tasks.Task<TResult> task, AsyncCallback callback, object state);
static member ToApm : System.Threading.Tasks.Task<'Result> * AsyncCallback * obj -> System.Threading.Tasks.Task<'Result>
<Extension()>
Public Function ToApm(Of TResult) (task As Task(Of TResult), callback As AsyncCallback, state As Object) As Task(Of TResult)
Type Parameters
- TResult
Parameters
- task
- Task<TResult>
- callback
- AsyncCallback
- state
- Object
Returns
Applies to
Zusammenarbeit auf GitHub
Die Quelle für diesen Inhalt finden Sie auf GitHub, wo Sie auch Issues und Pull Requests erstellen und überprüfen können. Weitere Informationen finden Sie in unserem Leitfaden für Mitwirkende.
Feedback
https://aka.ms/ContentUserFeedback.
Bald verfügbar: Im Laufe des Jahres 2024 werden wir GitHub-Issues stufenweise als Feedbackmechanismus für Inhalte abbauen und durch ein neues Feedbacksystem ersetzen. Weitere Informationen finden Sie unterFeedback senden und anzeigen für