Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Async.StartChildAsTask<'T> Method (F#)

Creates an asynchronous computation which starts the given computation as a Task.

Namespace/Module Path: Microsoft.FSharp.Control

Assembly: FSharp.Core (in FSharp.Core.dll)

// Signature:
static member StartChildAsTask : Async<'T> * ?TaskCreationOptions -> Async<Task<'T>>

// Usage:
Async.StartChildAsTask (computation)
Async.StartChildAsTask (computation, taskCreationOptions = taskCreationOptions)

computation

Type: Async<'T>

The computation to execute.

taskCreationOptions

Type: TaskCreationOptions

Optional task creation options.

The task wrapped as an asynchronous computation.

Windows 8, Windows 7, Windows Server 2012, Windows Server 2008 R2

F# Core Library Versions

Supported in: 4.0, Portable

Show:
© 2015 Microsoft