ThrowIfDialogShowing Method

Vista Bridge Library

[This is preliminary documentation and is subject to change.]

Throws an exception when the dialog is showing preventing a requested change to a property or the visible set of controls.

Namespace:  Microsoft.SDK.Samples.VistaBridge.Library
Assembly:  VistaBridgeLibrary (in VistaBridgeLibrary.dll) Version: 1.4.0.0 (1.4.0.0)

Syntax

C#
protected void ThrowIfDialogShowing(
	string message
)
Visual Basic (Declaration)
Protected Sub ThrowIfDialogShowing ( _
	message As String _
)
Visual C++
protected:
void ThrowIfDialogShowing(
	String^ message
)

Parameters

message
Type: System..::.String
The message to include in the exception.

Permissions

PermissionDescription
System..::.InvalidOperationException The dialog is in an invalid state to perform the requested operation.

See Also