System.Windows.Forms.Application.MessageLoop Property

Gets a value indicating whether a message loop exists on this thread.

Syntax

public static bool MessageLoop { get; }

Value

Documentation for this section has not yet been entered.

Remarks

When hosting Windows Forms in other environments, such as unmanaged applications, this property will always return false. Use Application.RegisterMessageLoop(System.Windows.Forms.Application.MessageLoopCallback) to instruct Windows Forms if the hosting environment still has an active message loop.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0