Compartilhar via


Control.Event<'Delegate,'Args> Constructor (F#)

Creates an event object suitable for delegate types following the standard .NET Framework convention of a first sender argument.

Namespace/Module Path: Microsoft.FSharp.Control

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

// Signature:
new Event : unit -> Event<'Delegate,'Args> (requires delegate)

// Usage:
new Event ()

Return Value

The created event.

Platforms

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

Version Information

F# Core Library Versions

Supported in: 2.0, 4.0, Portable

See Also

Reference

Control.Event<'Delegate,'Args> Class (F#)

Microsoft.FSharp.Control Namespace (F#)