Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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 7, Windows Vista SP2, Windows XP SP3, Windows XP x64 SP2, Windows Server 2008 R2, Windows Server 2008 SP2, Windows Server 2003 SP2

F# Runtime

Supported in: 4.0

Silverlight

Not supported

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.