Runs the dialog box. Namespace: Microsoft.ConfigurationManagement.AdminConsole
Assembly: Microsoft.ConfigurationManagement (in microsoft.configurationmanagement.dll)

Usage

Visual Basic
Dim hwndOwner As IntPtr
Dim returnValue As Boolean

returnValue = Me.RunDialog(hwndOwner)

Syntax

Visual Basic
Protected Overrides Function RunDialog ( _
		hwndOwner As IntPtr _
) As Boolean
C#
protected override bool RunDialog (
		IntPtr hwndOwner
)
C++
protected:
virtual bool RunDialog (
		IntPtr hwndOwner
) override
J#
protected boolean RunDialog (
		IntPtr hwndOwner
)
JScript
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