csharpfftfsharpintegrationinterpolationlinear-algebramathdifferentiationmatrixnumericsrandomregressionstatisticsmathnet
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
143 lines
8.2 KiB
143 lines
8.2 KiB
<HTML><HEAD><TITLE>Microsoft.FSharp.Control</TITLE><link rel="stylesheet" type="text/css"href="../msdn.css"></link></HEAD><BODY>
|
|
<br><dl>
|
|
<dt></dt><dd>
|
|
<h1>[<a href='../namespaces.html'>Home</a>] Namespace Microsoft.FSharp.Control </h1><br>
|
|
</dd>
|
|
<dt></dt><dd>
|
|
<table>
|
|
<tr valign='top'><td>
|
|
<dt><h3>Modules (as contributed by assembly 'FSharp.Core')</h3></dt><dd>
|
|
<table width="100%%">
|
|
<tr><th width=30%>Module</th><th>Description</th></tr>
|
|
<tr valign="top"><td><a href='Microsoft.FSharp.Control.CommonExtensions.html'>Microsoft.FSharp.Control.CommonExtensions</a></td><td><summary>
|
|
A module of extension members that provide asynchronous operations for some basic .NET types related to concurrency and I/O.
|
|
</summary></td></tr>
|
|
<tr valign="top"><td><a href='Microsoft.FSharp.Control.Event.html'>Microsoft.FSharp.Control.Event</a></td><td><summary>
|
|
Basic operations on first class event objects.
|
|
</summary></td></tr>
|
|
|
|
</table>
|
|
</dd>
|
|
<dt><h3>Type Definitions</h3></dt><dd>
|
|
<table width="100%%">
|
|
<tr><th width=30%>Type</th><th>Description</th></tr>
|
|
<tr valign="top"><td>type <a href='Microsoft.FSharp.Control.type_Async-1.html'>Async</a></td><td><summary>
|
|
An asynchronous computation, which, when run, will eventually produce a value
|
|
of the given type, or else raise an exception. The value and/or exception is not returned
|
|
to the caller immediately, but is rather passed to a success continuation, exception continuation
|
|
or cancellation continuation.
|
|
|
|
Asynchronous computations are normally specified using the F# 'workflow' syntax for building
|
|
computations.
|
|
|
|
When run, asynchronous computations can normally be thought of as running run in one of
|
|
two modes: 'work item mode' or 'waiting mode'.
|
|
|
|
- 'work item mode' indicates that the computation is executing as a work item,
|
|
e.g. in the .NET Thread Pool via ThreadPool.QueueUserWorkItem, or is running
|
|
a brief event-response action on the GUI thread.
|
|
|
|
- 'waiting mode' indicates the computations a waiting for asynchronous I/O completions,
|
|
typically suspended as thunks using ThreadPool.RegisterWaitForSingleObject.
|
|
|
|
Asynchronous computations running as 'work items' should not generally perform blocking
|
|
operations, e.g. long running synchronous loops. However, some asynchronous
|
|
computations may, out of necessity, need to execute blocking I/O operations:
|
|
these should be run on new threads or a user-managed pool of threads specifically
|
|
dedicated to resolving blocking conditions. For example, System.IO.OpenFile is, by
|
|
design, a blocking operation. However frequently it is important to code as
|
|
if this is asynchronous. This can be done by executing Async.SwitchToNewThread
|
|
as part of the workflow.
|
|
|
|
When run, asynchronous computations belong to an AsyncGroup. This can usually be specified
|
|
when the async computation is started. The only action on an AsyncGroup is to raise a cancellation
|
|
condition for the AsyncGroup. Async values check the cancellation condition for their AsyncGroup
|
|
regularly, though synchronous computations within an asynchronous computation will not automatically
|
|
check this condition. This gives a user-level cooperative cancellation protocol.
|
|
</summary></td></tr>
|
|
<tr valign="top"><td>type <a href='Microsoft.FSharp.Control.type_Async.html'>Async</a></td><td><summary>
|
|
This static class holds members for creating and manipulating asynchronous computations
|
|
</summary></td></tr>
|
|
<tr valign="top"><td>type <a href='Microsoft.FSharp.Control.type_AsyncBuilder.html'>AsyncBuilder</a></td><td><summary>
|
|
The type of the 'async' operator, used to build workflows for asynchronous computations.
|
|
</summary></td></tr>
|
|
<tr valign="top"><td>type <a href='Microsoft.FSharp.Control.type_AsyncGroup.html'>AsyncGroup</a></td><td><summary>
|
|
A handle to a capability to cancel a set of asynchronous computations.
|
|
</summary></td></tr>
|
|
<tr valign="top"><td>type <a href='Microsoft.FSharp.Control.type_AsyncReplyChannel-1.html'>AsyncReplyChannel</a></td><td><summary>
|
|
A handle to a capability to reply to a PostAndReply message
|
|
</summary></td></tr>
|
|
<tr valign="top"><td>type <a href='Microsoft.FSharp.Control.type_DelegateEvent-1.html'>DelegateEvent</a></td><td><summary>
|
|
Event implementations for an arbitrary type of delegate
|
|
</summary></td></tr>
|
|
<tr valign="top"><td>type <a href='Microsoft.FSharp.Control.type_Event-2.html'>Event</a></td><td><summary>
|
|
Event implementations for a delegate types following the standard .NET Framework convention of a first 'sender' argument
|
|
</summary></td></tr>
|
|
<tr valign="top"><td>type <a href='Microsoft.FSharp.Control.type_Event-1.html'>Event</a></td><td><summary>
|
|
Event implementations for the IEvent<_> type
|
|
</summary></td></tr>
|
|
<tr valign="top"><td>type <a href='Microsoft.FSharp.Control.type_Handler-1.html'>Handler</a></td><td><summary>
|
|
A delegate type associated with the F# event type <tt>IEvent<_></tt>
|
|
</summary></td></tr>
|
|
<tr valign="top"><td>type <a href='Microsoft.FSharp.Control.type_IDelegateEvent-1.html'>IDelegateEvent</a></td><td><summary>
|
|
F# gives special status to non-virtual instance member properties compatible with type IDelegateEvent,
|
|
generating approriate .NET metadata to make the member appear to other .NET languages as a
|
|
.NET event.
|
|
</summary></td></tr>
|
|
<tr valign="top"><td>type <a href='Microsoft.FSharp.Control.type_IEvent-2.html'>IEvent</a></td><td><summary>
|
|
The family of first class event values for delegate types that satisfy the F# delegate constraint.
|
|
</summary></td></tr>
|
|
<tr valign="top"><td>type <a href='Microsoft.FSharp.Control.type_IEvent-1.html'>IEvent</a></td><td><summary>
|
|
First-class listening points (i.e. objects that permit you to register a 'callback'
|
|
activated when the event is triggered). See the module <tt>Event</tt>
|
|
for functions to create events.
|
|
</summary> Note: an abbreviation for <tt><a href='Microsoft.FSharp.Control.type_IEvent-2.html'>IEvent</a><<a href='Microsoft.FSharp.Control.type_Handler-1.html'>Handler</a><'T>,'T></tt></td></tr>
|
|
<tr valign="top"><td>type <a href='Microsoft.FSharp.Control.type__lazy-1.html'>lazy</a></td><td><summary>
|
|
The type of delayed computations.
|
|
|
|
Use the values in the <tt>Lazy</tt> module to manipulate
|
|
values of this type, and the notation 'lazy expr' to create values
|
|
of this type.
|
|
</summary> Note: an abbreviation for <tt><a href='Microsoft.FSharp.Control.type_Lazy-1.html'>Lazy</a><'T></tt></td></tr>
|
|
<tr valign="top"><td>type <a href='Microsoft.FSharp.Control.type_Lazy-1.html'>Lazy</a></td><td><summary>
|
|
The type of delayed computations.
|
|
|
|
Use the values in the <tt>Lazy</tt> module to manipulate
|
|
values of this type, and the notation 'lazy expr' to create values
|
|
of this type.
|
|
</summary></td></tr>
|
|
<tr valign="top"><td>type <a href='Microsoft.FSharp.Control.type_MailboxProcessor-1.html'>MailboxProcessor</a></td><td><summary>
|
|
A MailboxProcessor is a message-processing agent defined using an asynchronous workflow.
|
|
The agent encapsulates a message queue that supports multiple-writers and the single reader agent.
|
|
Writers send messages to the agent by using the Post, PostAndReply or AsyncPostAndReply methods.
|
|
|
|
The reader agent is specified when creating the MailboxProcessor. The
|
|
agent is usually an asychronous workflow that waits for messages
|
|
by using the Receive or TryReceive methods.
|
|
A MailboxProcessor may also scan through all available messages by using the
|
|
Scan or TryScan method. The encapsulated message queue only
|
|
supports a single active reader, thus at most one concurrent call to Receive, TryReceive,
|
|
Scan and/or TryScan may be active at any one time.
|
|
</summary></td></tr>
|
|
|
|
</table>
|
|
</dd>
|
|
<dt><h3>Exceptions</h3></dt><dd>
|
|
<table width="100%%">
|
|
<tr><th width=40%>Exception</th><th>Description</th></tr>
|
|
<tr valign="top"><td>exception <a href='Microsoft.FSharp.Control.type_Undefined.html'>Undefined</a></td><td><summary>
|
|
An exeption type raised when the evaluation of a lazy value recursively depend upon itself
|
|
</summary></td></tr>
|
|
|
|
</table>
|
|
</dd>
|
|
</td></tr>
|
|
<tr valign='top'><td>
|
|
<dt><h3>See Also</h3></dt><dd>
|
|
<a href="../namespaces.html">Namespaces</a> </dd>
|
|
</td></tr>
|
|
</table>
|
|
</dd>
|
|
</dl>
|
|
<br /> <br/><p><i>Documentation for assembly FSharp.Core, version 1.9.6.16, generated using <a href='http://research.microsoft.com/fsharp/'>F# Programming Language</a> version 1.9.6.16</i></p>
|
|
</BODY></HTML>
|
|
|