Compartilhar via


StatusReportingWaitDialog.RunDialog Method

Runs the dialog box.

Namespace: Microsoft.ConfigurationManagement.AdminConsole
Assembly: Microsoft.ConfigurationManagement (in microsoft.configurationmanagement.dll)

Usage

'Usage
Dim hwndOwner As IntPtr
Dim returnValue As Boolean

returnValue = Me.RunDialog(hwndOwner)

Syntax

'Declaration
Protected Overrides Function RunDialog ( _
    hwndOwner As IntPtr _
) As Boolean
protected override bool RunDialog (
    IntPtr hwndOwner
)
protected:
virtual bool RunDialog (
    IntPtr hwndOwner
) override
protected boolean RunDialog (
    IntPtr hwndOwner
)
protected override function RunDialog (
    hwndOwner : IntPtr
) : boolean

Parameters

  • hwndOwner
    [in] System.IntPtr object that indicates the owner of the dialog box.

Return Value

true if the dialog box runs; otherwise false.

Exceptions

Exception type Condition
InvalidOperationException

Cannot call this method before calling Dispose.

Remarks

Your application must override this method in a derived class.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2003,Windows Vista

See Also

Reference

StatusReportingWaitDialog Class
StatusReportingWaitDialog Members
Microsoft.ConfigurationManagement.AdminConsole Namespace
StatusReportingWaitDialog.Dispose Method