ElementNotEnabledException Constructor (String, Exception)

ElementNotEnabledException Constructor (String, Exception)

 

Initializes a new instance of the ElementNotEnabledException class with a specified error message and a reference to the inner exception that caused this exception.

Namespace:   System.Windows.Automation
Assembly:  UIAutomationTypes (in UIAutomationTypes.dll)

public ElementNotEnabledException(
	string message,
	Exception innerException
)

Parameters

message
Type: System.String

The description of the error.

innerException
Type: System.Exception

The exception that caused this exception.

.NET Framework
Available since 3.0
Return to top
Show:
© 2016 Microsoft