ElementNotEnabledException.ElementNotEnabledException constructor

Applies to Windows and Windows Phone

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

Syntax


public ElementNotEnabledException(
  string message, 
  Exception innerException
)

Parameters

message

Type: System.String

The message that describes the error.

innerException

Type: Exception

The exception that is the cause of the current exception, or null if no inner exception is specified.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Xaml.Automation

Assembly

System.Runtime.WindowsRuntime.UI.Xaml.dll

See also

ElementNotEnabledException

 

 

Show:
© 2014 Microsoft